Namespaces
Enumerations
enum Field_Kind
| Name | Value |
|---|---|
| Field_Kind_TYPE_UNKNOWN | 0 |
| Field_Kind_TYPE_DOUBLE | 1 |
| Field_Kind_TYPE_FLOAT | 2 |
| Field_Kind_TYPE_INT64 | 3 |
| Field_Kind_TYPE_UINT64 | 4 |
| Field_Kind_TYPE_INT32 | 5 |
| Field_Kind_TYPE_FIXED64 | 6 |
| Field_Kind_TYPE_FIXED32 | 7 |
| Field_Kind_TYPE_BOOL | 8 |
| Field_Kind_TYPE_STRING | 9 |
| Field_Kind_TYPE_GROUP | 10 |
| Field_Kind_TYPE_MESSAGE | 11 |
| Field_Kind_TYPE_BYTES | 12 |
| Field_Kind_TYPE_UINT32 | 13 |
| Field_Kind_TYPE_ENUM | 14 |
| Field_Kind_TYPE_SFIXED32 | 15 |
| Field_Kind_TYPE_SFIXED64 | 16 |
| Field_Kind_TYPE_SINT32 | 17 |
| Field_Kind_TYPE_SINT64 | 18 |
| Field_Kind_Field_Kind_INT_MIN_SENTINEL_DO_NOT_USE_ | std::numeric_limits<::int32_t>::min() |
| Field_Kind_Field_Kind_INT_MAX_SENTINEL_DO_NOT_USE_ | std::numeric_limits<::int32_t>::max() |
Defined at line 79 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
enum Field_Cardinality
| Name | Value |
|---|---|
| Field_Cardinality_CARDINALITY_UNKNOWN | 0 |
| Field_Cardinality_CARDINALITY_OPTIONAL | 1 |
| Field_Cardinality_CARDINALITY_REQUIRED | 2 |
| Field_Cardinality_CARDINALITY_REPEATED | 3 |
| Field_Cardinality_Field_Cardinality_INT_MIN_SENTINEL_DO_NOT_USE_ | std::numeric_limits<::int32_t>::min() |
| Field_Cardinality_Field_Cardinality_INT_MAX_SENTINEL_DO_NOT_USE_ | std::numeric_limits<::int32_t>::max() |
Defined at line 129 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
enum Syntax
| Name | Value |
|---|---|
| SYNTAX_PROTO2 | 0 |
| SYNTAX_PROTO3 | 1 |
| SYNTAX_EDITIONS | 2 |
| Syntax_INT_MIN_SENTINEL_DO_NOT_USE_ | std::numeric_limits<::int32_t>::min() |
| Syntax_INT_MAX_SENTINEL_DO_NOT_USE_ | std::numeric_limits<::int32_t>::max() |
Defined at line 164 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
enum ExtensionRangeOptions_VerificationState
| Name | Value |
|---|---|
| ExtensionRangeOptions_VerificationState_DECLARATION | 0 |
| ExtensionRangeOptions_VerificationState_UNVERIFIED | 1 |
Defined at line 166 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FieldDescriptorProto_Type
| Name | Value |
|---|---|
| FieldDescriptorProto_Type_TYPE_DOUBLE | 1 |
| FieldDescriptorProto_Type_TYPE_FLOAT | 2 |
| FieldDescriptorProto_Type_TYPE_INT64 | 3 |
| FieldDescriptorProto_Type_TYPE_UINT64 | 4 |
| FieldDescriptorProto_Type_TYPE_INT32 | 5 |
| FieldDescriptorProto_Type_TYPE_FIXED64 | 6 |
| FieldDescriptorProto_Type_TYPE_FIXED32 | 7 |
| FieldDescriptorProto_Type_TYPE_BOOL | 8 |
| FieldDescriptorProto_Type_TYPE_STRING | 9 |
| FieldDescriptorProto_Type_TYPE_GROUP | 10 |
| FieldDescriptorProto_Type_TYPE_MESSAGE | 11 |
| FieldDescriptorProto_Type_TYPE_BYTES | 12 |
| FieldDescriptorProto_Type_TYPE_UINT32 | 13 |
| FieldDescriptorProto_Type_TYPE_ENUM | 14 |
| FieldDescriptorProto_Type_TYPE_SFIXED32 | 15 |
| FieldDescriptorProto_Type_TYPE_SFIXED64 | 16 |
| FieldDescriptorProto_Type_TYPE_SINT32 | 17 |
| FieldDescriptorProto_Type_TYPE_SINT64 | 18 |
Defined at line 195 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FieldDescriptorProto_Label
| Name | Value |
|---|---|
| FieldDescriptorProto_Label_LABEL_OPTIONAL | 1 |
| FieldDescriptorProto_Label_LABEL_REPEATED | 3 |
| FieldDescriptorProto_Label_LABEL_REQUIRED | 2 |
Defined at line 240 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FileOptions_OptimizeMode
| Name | Value |
|---|---|
| FileOptions_OptimizeMode_SPEED | 1 |
| FileOptions_OptimizeMode_CODE_SIZE | 2 |
| FileOptions_OptimizeMode_LITE_RUNTIME | 3 |
Defined at line 270 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FieldOptions_CType
| Name | Value |
|---|---|
| FieldOptions_CType_STRING | 0 |
| FieldOptions_CType_CORD | 1 |
| FieldOptions_CType_STRING_PIECE | 2 |
Defined at line 300 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FieldOptions_JSType
| Name | Value |
|---|---|
| FieldOptions_JSType_JS_NORMAL | 0 |
| FieldOptions_JSType_JS_STRING | 1 |
| FieldOptions_JSType_JS_NUMBER | 2 |
Defined at line 330 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FieldOptions_OptionRetention
| Name | Value |
|---|---|
| FieldOptions_OptionRetention_RETENTION_UNKNOWN | 0 |
| FieldOptions_OptionRetention_RETENTION_RUNTIME | 1 |
| FieldOptions_OptionRetention_RETENTION_SOURCE | 2 |
Defined at line 360 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FieldOptions_OptionTargetType
| Name | Value |
|---|---|
| FieldOptions_OptionTargetType_TARGET_TYPE_UNKNOWN | 0 |
| FieldOptions_OptionTargetType_TARGET_TYPE_FILE | 1 |
| FieldOptions_OptionTargetType_TARGET_TYPE_EXTENSION_RANGE | 2 |
| FieldOptions_OptionTargetType_TARGET_TYPE_MESSAGE | 3 |
| FieldOptions_OptionTargetType_TARGET_TYPE_FIELD | 4 |
| FieldOptions_OptionTargetType_TARGET_TYPE_ONEOF | 5 |
| FieldOptions_OptionTargetType_TARGET_TYPE_ENUM | 6 |
| FieldOptions_OptionTargetType_TARGET_TYPE_ENUM_ENTRY | 7 |
| FieldOptions_OptionTargetType_TARGET_TYPE_SERVICE | 8 |
| FieldOptions_OptionTargetType_TARGET_TYPE_METHOD | 9 |
Defined at line 390 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum MethodOptions_IdempotencyLevel
| Name | Value |
|---|---|
| MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN | 0 |
| MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS | 1 |
| MethodOptions_IdempotencyLevel_IDEMPOTENT | 2 |
Defined at line 427 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FeatureSet_FieldPresence
| Name | Value |
|---|---|
| FeatureSet_FieldPresence_FIELD_PRESENCE_UNKNOWN | 0 |
| FeatureSet_FieldPresence_EXPLICIT | 1 |
| FeatureSet_FieldPresence_IMPLICIT | 2 |
| FeatureSet_FieldPresence_LEGACY_REQUIRED | 3 |
Defined at line 457 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FeatureSet_EnumType
| Name | Value |
|---|---|
| FeatureSet_EnumType_ENUM_TYPE_UNKNOWN | 0 |
| FeatureSet_EnumType_OPEN | 1 |
| FeatureSet_EnumType_CLOSED | 2 |
Defined at line 488 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FeatureSet_RepeatedFieldEncoding
| Name | Value |
|---|---|
| FeatureSet_RepeatedFieldEncoding_REPEATED_FIELD_ENCODING_UNKNOWN | 0 |
| FeatureSet_RepeatedFieldEncoding_PACKED | 1 |
| FeatureSet_RepeatedFieldEncoding_EXPANDED | 2 |
Defined at line 518 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FeatureSet_Utf8Validation
| Name | Value |
|---|---|
| FeatureSet_Utf8Validation_UTF8_VALIDATION_UNKNOWN | 0 |
| FeatureSet_Utf8Validation_VERIFY | 2 |
| FeatureSet_Utf8Validation_NONE | 3 |
Defined at line 548 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FeatureSet_MessageEncoding
| Name | Value |
|---|---|
| FeatureSet_MessageEncoding_MESSAGE_ENCODING_UNKNOWN | 0 |
| FeatureSet_MessageEncoding_LENGTH_PREFIXED | 1 |
| FeatureSet_MessageEncoding_DELIMITED | 2 |
Defined at line 578 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum FeatureSet_JsonFormat
| Name | Value |
|---|---|
| FeatureSet_JsonFormat_JSON_FORMAT_UNKNOWN | 0 |
| FeatureSet_JsonFormat_ALLOW | 1 |
| FeatureSet_JsonFormat_LEGACY_BEST_EFFORT | 2 |
Defined at line 608 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum GeneratedCodeInfo_Annotation_Semantic
| Name | Value |
|---|---|
| GeneratedCodeInfo_Annotation_Semantic_NONE | 0 |
| GeneratedCodeInfo_Annotation_Semantic_SET | 1 |
| GeneratedCodeInfo_Annotation_Semantic_ALIAS | 2 |
Defined at line 638 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
enum Edition
| Name | Value |
|---|---|
| EDITION_UNKNOWN | 0 |
| EDITION_LEGACY | 900 |
| EDITION_PROTO2 | 998 |
| EDITION_PROTO3 | 999 |
| EDITION_2023 | 1000 |
| EDITION_2024 | 1001 |
| EDITION_1_TEST_ONLY | 1 |
| EDITION_2_TEST_ONLY | 2 |
| EDITION_99997_TEST_ONLY | 99997 |
| EDITION_99998_TEST_ONLY | 99998 |
| EDITION_99999_TEST_ONLY | 99999 |
| EDITION_MAX | 2147483647 |
Defined at line 668 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
Records
-
class Any -
class AnyDefaultTypeInternal -
class Arena -
class ArenaOptions -
class ArenaOptionsTestFriend -
class AssignDescriptorsHelper -
class BigEndian -
class Closure -
class DebugStringOptions -
class Descriptor -
class DescriptorBuilder -
class DescriptorDatabase -
class DescriptorPool -
class DescriptorPoolDatabase -
class DescriptorPoolDatabaseOptions -
class DescriptorProto -
class DescriptorProtoDefaultTypeInternal -
class DescriptorProto_ExtensionRange -
class DescriptorProto_ExtensionRangeDefaultTypeInternal -
class DescriptorProto_ReservedRange -
class DescriptorProto_ReservedRangeDefaultTypeInternal -
class DynamicMessage -
class DynamicMessageFactory -
class EncodedDescriptorDatabase -
class Enum -
class EnumDefaultTypeInternal -
class EnumDescriptor -
class EnumDescriptorProto -
class EnumDescriptorProtoDefaultTypeInternal -
class EnumDescriptorProto_EnumReservedRange -
class EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal -
class EnumOptions -
class EnumOptionsDefaultTypeInternal -
class EnumValue -
class EnumValueDefaultTypeInternal -
class EnumValueDescriptor -
class EnumValueDescriptorProto -
class EnumValueDescriptorProtoDefaultTypeInternal -
class EnumValueOptions -
class EnumValueOptionsDefaultTypeInternal -
class ExtensionRangeOptions -
class ExtensionRangeOptionsDefaultTypeInternal -
class ExtensionRangeOptions_Declaration -
class ExtensionRangeOptions_DeclarationDefaultTypeInternal -
class FastReflectionBase -
class FastReflectionMessageMutator -
class FastReflectionStringSetter -
class FeatureSet -
class FeatureSetDefaultTypeInternal -
class FeatureSetDefaults -
class FeatureSetDefaultsDefaultTypeInternal -
class FeatureSetDefaults_FeatureSetEditionDefault -
class FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal -
class Field -
class FieldDefaultTypeInternal -
class FieldDescriptor -
class FieldDescriptorLegacy -
class FieldDescriptorProto -
class FieldDescriptorProtoDefaultTypeInternal -
class FieldOptions -
class FieldOptionsDefaultTypeInternal -
class FieldOptions_EditionDefault -
class FieldOptions_EditionDefaultDefaultTypeInternal -
class FieldOptions_FeatureSupport -
class FieldOptions_FeatureSupportDefaultTypeInternal -
class FileDescriptor -
class FileDescriptorLegacy -
class FileDescriptorProto -
class FileDescriptorProtoDefaultTypeInternal -
class FileDescriptorSet -
class FileDescriptorSetDefaultTypeInternal -
class FileDescriptorTables -
class FileOptions -
class FileOptionsDefaultTypeInternal -
class GeneratedCodeInfo -
class GeneratedCodeInfoDefaultTypeInternal -
class GeneratedCodeInfo_Annotation -
class GeneratedCodeInfo_AnnotationDefaultTypeInternal -
class GeneratedMessageReflectionTestHelper -
class Map -
class MapIterator -
class MapKey -
class MapReflectionTester -
class MapValueConstRef -
class MapValueRef -
class MergedDescriptorDatabase -
class Message -
class MessageFactory -
class MessageLayoutInspector -
class MessageLite -
class MessageOptions -
class MessageOptionsDefaultTypeInternal -
class Metadata -
class MethodDescriptor -
class MethodDescriptorProto -
class MethodDescriptorProtoDefaultTypeInternal -
class MethodOptions -
class MethodOptionsDefaultTypeInternal -
class MutableRepeatedFieldRef -
class MutableRepeatedFieldRef -
class MutableRepeatedFieldRef -
class OneofDescriptor -
class OneofDescriptorLegacy -
class OneofDescriptorProto -
class OneofDescriptorProtoDefaultTypeInternal -
class OneofOptions -
class OneofOptionsDefaultTypeInternal -
class Option -
class OptionDefaultTypeInternal -
class Reflection -
class RepeatedField -
class RepeatedFieldRef -
class RepeatedFieldRef -
class RepeatedFieldRef -
class RepeatedPtrField -
class ResultCallback -
class ResultCallback1 -
class ResultCallback2 -
class ServiceDescriptor -
class ServiceDescriptorProto -
class ServiceDescriptorProtoDefaultTypeInternal -
class ServiceOptions -
class ServiceOptionsDefaultTypeInternal -
class SimpleDescriptorDatabase -
class SourceCodeInfo -
class SourceCodeInfoDefaultTypeInternal -
class SourceCodeInfo_Location -
class SourceCodeInfo_LocationDefaultTypeInternal -
class SourceContext -
class SourceContextDefaultTypeInternal -
class SourceLocation -
class Symbol -
class TextFormat -
class Timestamp -
class TimestampDefaultTypeInternal -
class Type -
class TypeDefaultTypeInternal -
class TypeId -
class UninterpretedOption -
class UninterpretedOptionDefaultTypeInternal -
class UninterpretedOption_NamePart -
class UninterpretedOption_NamePartDefaultTypeInternal -
class UnknownField -
class UnknownFieldSet -
class WeakRepeatedPtrField -
class WireFormatForMapFieldTest -
class ZeroCopyCodedInputStream -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum -
class is_proto_enum
Functions
-
uint16_t GOOGLE_UNALIGNED_LOAD16 (const void * p)Defined at line 90 of file ../../third_party/protobuf/src/google/protobuf/stubs/port.h
-
uint32_t GOOGLE_UNALIGNED_LOAD32 (const void * p)Defined at line 96 of file ../../third_party/protobuf/src/google/protobuf/stubs/port.h
-
uint64_t GOOGLE_UNALIGNED_LOAD64 (const void * p)Defined at line 102 of file ../../third_party/protobuf/src/google/protobuf/stubs/port.h
-
void GOOGLE_UNALIGNED_STORE16 (void * p, uint16_t v)Defined at line 108 of file ../../third_party/protobuf/src/google/protobuf/stubs/port.h
-
void GOOGLE_UNALIGNED_STORE32 (void * p, uint32_t v)Defined at line 112 of file ../../third_party/protobuf/src/google/protobuf/stubs/port.h
-
template <typename T>const std::string & Field_Kind_Name (T value)Defined at line 113 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
void GOOGLE_UNALIGNED_STORE64 (void * p, uint64_t v)Defined at line 116 of file ../../third_party/protobuf/src/google/protobuf/stubs/port.h
-
template <>const std::string & Field_Kind_Name<google::protobuf::Field_Kind> (Field_Kind value)Defined at line 119 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
bool Field_Kind_Parse (absl::string_view name, Field_Kind * value)Defined at line 125 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
void swap (SourceContext & a, SourceContext & b)Defined at line 131 of file ../../third_party/protobuf/src/google/protobuf/source_context.pb.h
-
void swap (Timestamp & a, Timestamp & b)Defined at line 131 of file ../../third_party/protobuf/src/google/protobuf/timestamp.pb.h
-
template <typename T>const std::string & Field_Cardinality_Name (T value)Defined at line 148 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
template <>const std::string & Field_Cardinality_Name<google::protobuf::Field_Cardinality> (Field_Cardinality value)Defined at line 154 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
bool Field_Cardinality_Parse (absl::string_view name, Field_Cardinality * value)Defined at line 160 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
template <typename T>const std::string & ExtensionRangeOptions_VerificationState_Name (T value)Defined at line 179 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename T>const std::string & Syntax_Name (T value)Defined at line 182 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
template <>const std::string & ExtensionRangeOptions_VerificationState_Name<google::protobuf::ExtensionRangeOptions_VerificationState> (ExtensionRangeOptions_VerificationState value)Defined at line 185 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (Any & a, Any & b)Defined at line 187 of file ../../third_party/protobuf/src/google/protobuf/any.pb.h
-
template <>const std::string & Syntax_Name<google::protobuf::Syntax> (Syntax value)Defined at line 188 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
bool ExtensionRangeOptions_VerificationState_Parse (absl::string_view name, ExtensionRangeOptions_VerificationState * value)Defined at line 191 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool Syntax_Parse (absl::string_view name, Syntax * value)Defined at line 194 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
template <typename T>const std::string & FieldDescriptorProto_Type_Name (T value)Defined at line 224 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const std::string & FieldDescriptorProto_Type_Name<google::protobuf::FieldDescriptorProto_Type> (FieldDescriptorProto_Type value)Defined at line 230 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool FieldDescriptorProto_Type_Parse (absl::string_view name, FieldDescriptorProto_Type * value)Defined at line 236 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename T>const std::string & FieldDescriptorProto_Label_Name (T value)Defined at line 254 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const std::string & FieldDescriptorProto_Label_Name<google::protobuf::FieldDescriptorProto_Label> (FieldDescriptorProto_Label value)Defined at line 260 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (Option & a, Option & b)Defined at line 265 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
bool FieldDescriptorProto_Label_Parse (absl::string_view name, FieldDescriptorProto_Label * value)Defined at line 266 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename T>const std::string & FileOptions_OptimizeMode_Name (T value)Defined at line 284 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const std::string & FileOptions_OptimizeMode_Name<google::protobuf::FileOptions_OptimizeMode> (FileOptions_OptimizeMode value)Defined at line 290 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool FileOptions_OptimizeMode_Parse (absl::string_view name, FileOptions_OptimizeMode * value)Defined at line 296 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename Sink>void AbslStringify (Sink & sink, Edition edition)Provide an Abseil formatter for edition names.
Defined at line 303 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
-
template <typename T>const std::string & FieldOptions_CType_Name (T value)Defined at line 314 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const std::string & FieldOptions_CType_Name<google::protobuf::FieldOptions_CType> (FieldOptions_CType value)Defined at line 320 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool FieldOptions_CType_Parse (absl::string_view name, FieldOptions_CType * value)Defined at line 326 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename Sink>void AbslStringify (Sink & sink, const google::protobuf::Message & message)Implementation of the `AbslStringify` interface. This adds something
similar to either `ShortDebugString()` or `DebugString()` to the sink.
Do not rely on exact format.
Defined at line 342 of file ../../third_party/protobuf/src/google/protobuf/message.h
-
template <typename T>const std::string & FieldOptions_JSType_Name (T value)Defined at line 344 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const std::string & FieldOptions_JSType_Name<google::protobuf::FieldOptions_JSType> (FieldOptions_JSType value)Defined at line 350 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool FieldOptions_JSType_Parse (absl::string_view name, FieldOptions_JSType * value)Defined at line 356 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename Sink>void AbslStringify (Sink & sink, const Descriptor & d)Allows formatting with absl and gtest.
Defined at line 368 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
-
template <typename T>const std::string & FieldOptions_OptionRetention_Name (T value)Defined at line 374 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const std::string & FieldOptions_OptionRetention_Name<google::protobuf::FieldOptions_OptionRetention> (FieldOptions_OptionRetention value)Defined at line 380 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool FieldOptions_OptionRetention_Parse (absl::string_view name, FieldOptions_OptionRetention * value)Defined at line 386 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename T>const std::string & FieldOptions_OptionTargetType_Name (T value)Defined at line 411 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
Closure * NewCallback (void (*)() function)See Closure.
Defined at line 416 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <>const std::string & FieldOptions_OptionTargetType_Name<google::protobuf::FieldOptions_OptionTargetType> (FieldOptions_OptionTargetType value)Defined at line 417 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
Closure * NewPermanentCallback (void (*)() function)See Closure.
Defined at line 421 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
bool FieldOptions_OptionTargetType_Parse (absl::string_view name, FieldOptions_OptionTargetType * value)Defined at line 423 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename Class>Closure * NewCallback (Class * object, void (Class::*)() method)See Closure.
Defined at line 427 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename Class>Closure * NewPermanentCallback (Class * object, void (Class::*)() method)See Closure.
Defined at line 433 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename Arg1>Closure * NewCallback (void (*)(Arg1) function, Arg1 arg1)See Closure.
Defined at line 439 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename T>const std::string & MethodOptions_IdempotencyLevel_Name (T value)Defined at line 441 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename Arg1>Closure * NewPermanentCallback (void (*)(Arg1) function, Arg1 arg1)See Closure.
Defined at line 446 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <>const std::string & MethodOptions_IdempotencyLevel_Name<google::protobuf::MethodOptions_IdempotencyLevel> (MethodOptions_IdempotencyLevel value)Defined at line 447 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool MethodOptions_IdempotencyLevel_Parse (absl::string_view name, MethodOptions_IdempotencyLevel * value)Defined at line 453 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename Class, typename Arg1>Closure * NewCallback (Class * object, void (Class::*)(Arg1) method, Arg1 arg1)See Closure.
Defined at line 453 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename Class, typename Arg1>Closure * NewPermanentCallback (Class * object, void (Class::*)(Arg1) method, Arg1 arg1)See Closure.
Defined at line 460 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename Arg1, typename Arg2>Closure * NewCallback (void (*)(Arg1, Arg2) function, Arg1 arg1, Arg2 arg2)See Closure.
Defined at line 467 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename T>const std::string & FeatureSet_FieldPresence_Name (T value)Defined at line 472 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename Arg1, typename Arg2>Closure * NewPermanentCallback (void (*)(Arg1, Arg2) function, Arg1 arg1, Arg2 arg2)See Closure.
Defined at line 475 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <>const std::string & FeatureSet_FieldPresence_Name<google::protobuf::FeatureSet_FieldPresence> (FeatureSet_FieldPresence value)Defined at line 478 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (Field & a, Field & b)Defined at line 480 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
template <typename Class, typename Arg1, typename Arg2>Closure * NewCallback (Class * object, void (Class::*)(Arg1, Arg2) method, Arg1 arg1, Arg2 arg2)See Closure.
Defined at line 483 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
bool FeatureSet_FieldPresence_Parse (absl::string_view name, FeatureSet_FieldPresence * value)Defined at line 484 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename Class, typename Arg1, typename Arg2>Closure * NewPermanentCallback (Class * object, void (Class::*)(Arg1, Arg2) method, Arg1 arg1, Arg2 arg2)See Closure.
Defined at line 491 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename R>ResultCallback<R> * NewCallback (R (*)() function)See ResultCallback
Defined at line 500 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename T>const std::string & FeatureSet_EnumType_Name (T value)Defined at line 502 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename R>ResultCallback<R> * NewPermanentCallback (R (*)() function)See ResultCallback
Defined at line 506 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <>const std::string & FeatureSet_EnumType_Name<google::protobuf::FeatureSet_EnumType> (FeatureSet_EnumType value)Defined at line 508 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename R, typename P1>ResultCallback<R> * NewCallback (R (*)(P1) function, P1 p1)See ResultCallback
Defined at line 512 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
bool FeatureSet_EnumType_Parse (absl::string_view name, FeatureSet_EnumType * value)Defined at line 514 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename R, typename P1>ResultCallback<R> * NewPermanentCallback (R (*)(P1) function, P1 p1)See ResultCallback
Defined at line 519 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename R, typename A1>ResultCallback1<R, A1> * NewCallback (R (*)(A1) function)See ResultCallback1
Defined at line 527 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename T>const std::string & FeatureSet_RepeatedFieldEncoding_Name (T value)Defined at line 532 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename R, typename A1>ResultCallback1<R, A1> * NewPermanentCallback (R (*)(A1) function)See ResultCallback1
Defined at line 533 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <>const std::string & FeatureSet_RepeatedFieldEncoding_Name<google::protobuf::FeatureSet_RepeatedFieldEncoding> (FeatureSet_RepeatedFieldEncoding value)Defined at line 538 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename R, typename P1, typename A1>ResultCallback1<R, A1> * NewCallback (R (*)(P1, A1) function, P1 p1)See ResultCallback1
Defined at line 539 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
bool FeatureSet_RepeatedFieldEncoding_Parse (absl::string_view name, FeatureSet_RepeatedFieldEncoding * value)Defined at line 544 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename R, typename P1, typename A1>ResultCallback1<R, A1> * NewPermanentCallback (R (*)(P1, A1) function, P1 p1)See ResultCallback1
Defined at line 546 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename R, typename T1, typename T2>ResultCallback<R> * NewPermanentCallback (T1 * object, R (T2::*)() function)See MethodResultCallback_0_0
Defined at line 554 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <typename T>const std::string & FeatureSet_Utf8Validation_Name (T value)Defined at line 562 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename R, typename T, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2>ResultCallback2<R, A1, A2> * NewPermanentCallback (T * object, R (T::*)(P1, P2, P3, P4, P5, P6, A1, A2) function, typename internal::InternalConstRef<P1>::type p1, typename internal::InternalConstRef<P2>::type p2, typename internal::InternalConstRef<P3>::type p3, typename internal::InternalConstRef<P4>::type p4, typename internal::InternalConstRef<P5>::type p5, typename internal::InternalConstRef<P6>::type p6)See MethodResultCallback_6_2
Defined at line 562 of file ../../third_party/protobuf/src/google/protobuf/stubs/callback.h
-
template <>const std::string & FeatureSet_Utf8Validation_Name<google::protobuf::FeatureSet_Utf8Validation> (FeatureSet_Utf8Validation value)Defined at line 568 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename Sink>void AbslStringify (Sink & sink, const google::protobuf::MessageLite & msg)Implementation of the `AbslStringify` interface. This adds `DebugString()`
to the sink. Do not rely on exact format.
Defined at line 573 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
bool FeatureSet_Utf8Validation_Parse (absl::string_view name, FeatureSet_Utf8Validation * value)Defined at line 574 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename T>const std::string & FeatureSet_MessageEncoding_Name (T value)Defined at line 592 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const std::string & FeatureSet_MessageEncoding_Name<google::protobuf::FeatureSet_MessageEncoding> (FeatureSet_MessageEncoding value)Defined at line 598 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool FeatureSet_MessageEncoding_Parse (absl::string_view name, FeatureSet_MessageEncoding * value)Defined at line 604 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename T>const std::string & FeatureSet_JsonFormat_Name (T value)Defined at line 622 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const std::string & FeatureSet_JsonFormat_Name<google::protobuf::FeatureSet_JsonFormat> (FeatureSet_JsonFormat value)Defined at line 628 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool FeatureSet_JsonFormat_Parse (absl::string_view name, FeatureSet_JsonFormat * value)Defined at line 634 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename T>const std::string & GeneratedCodeInfo_Annotation_Semantic_Name (T value)Defined at line 652 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const std::string & GeneratedCodeInfo_Annotation_Semantic_Name<google::protobuf::GeneratedCodeInfo_Annotation_Semantic> (GeneratedCodeInfo_Annotation_Semantic value)Defined at line 658 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool GeneratedCodeInfo_Annotation_Semantic_Parse (absl::string_view name, GeneratedCodeInfo_Annotation_Semantic * value)Defined at line 664 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename T>const std::string & Edition_Name (T value)Defined at line 690 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool Edition_Parse (absl::string_view name, Edition * value)Defined at line 696 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename Sink>void AbslStringify (Sink & sink, const FieldDescriptor & d)Allows formatting with absl and gtest.
Defined at line 1019 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
-
template <typename H>H AbslHashValue (H state, TypeId id)Defined at line 1073 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename Sink>void AbslStringify (Sink & sink, const OneofDescriptor & d)Allows formatting with absl and gtest.
Defined at line 1233 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
-
template <typename T>const T * DynamicCastMessage (const MessageLite * from)Cast functions for message pointer/references.
This is the supported API to cast from a Message/MessageLite to derived
types. These work even when RTTI is disabled on message types.
The template parameter is simplified and the return type is inferred from the
input. Eg just `DynamicCastMessage
<Foo
>(x)` instead of
`DynamicCastMessage
<const
Foo*>(x)`.
`DynamicCastMessage` is similar to `dynamic_cast`, returns `nullptr` when the
input is not an instance of `T`. The overloads that take a reference will
terminate on mismatch.
`DownCastMessage` is a lightweight function for downcasting base
`MessageLite` pointer to derived type, where it only does type checking if
!NDEBUG. It should only be used when the caller is certain that the input
message is of instance `T`.
Defined at line 1329 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>T * DynamicCastMessage (MessageLite * from)Defined at line 1342 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>const T & DynamicCastMessage (const MessageLite & from)Defined at line 1353 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename Sink>void AbslStringify (Sink & sink, const EnumDescriptor & d)Allows formatting with absl and gtest.
Defined at line 1354 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
-
template <typename T>T & DynamicCastMessage (MessageLite & from)Defined at line 1364 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>const T * DownCastMessage (const MessageLite * from)Defined at line 1370 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>T * DownCastMessage (MessageLite * from)Defined at line 1379 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>const T & DownCastMessage (const MessageLite & from)Defined at line 1385 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>T & DownCastMessage (MessageLite & from)Defined at line 1390 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <>const MessageLite * DynamicCastMessage<google::protobuf::MessageLite> (const MessageLite * from)Defined at line 1394 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <>const MessageLite * DownCastMessage<google::protobuf::MessageLite> (const MessageLite * from)Defined at line 1398 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>const T * DynamicCastToGenerated (const MessageLite * from)Deprecated names for the cast functions.
Prefer the ones above.
Defined at line 1407 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>T * DynamicCastToGenerated (MessageLite * from)Defined at line 1413 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>const T & DynamicCastToGenerated (const MessageLite & from)Defined at line 1419 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>T & DynamicCastToGenerated (MessageLite & from)Defined at line 1425 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>const T * DownCastToGenerated (const MessageLite * from)Defined at line 1431 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>T * DownCastToGenerated (MessageLite * from)Defined at line 1437 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>const T & DownCastToGenerated (const MessageLite & from)Defined at line 1443 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <typename T>T & DownCastToGenerated (MessageLite & from)Defined at line 1449 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
template <>const Message * DynamicCastMessage<google::protobuf::Message> (const MessageLite * from)Specializations to handle cast to `Message`. We can check the `is_lite` bit
in the class data.
Defined at line 1477 of file ../../third_party/protobuf/src/google/protobuf/message.h
-
template <>const Message * DownCastMessage<google::protobuf::Message> (const MessageLite * from)Defined at line 1483 of file ../../third_party/protobuf/src/google/protobuf/message.h
-
template <typename Sink>void AbslStringify (Sink & sink, const EnumValueDescriptor & d)Allows formatting with absl and gtest.
Defined at line 1554 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
-
template <typename Sink>void AbslStringify (Sink & sink, const ServiceDescriptor & d)Allows formatting with absl and gtest.
Defined at line 1659 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
-
template <typename Sink>void AbslStringify (Sink & sink, const MethodDescriptor & d)Allows formatting with absl and gtest.
Defined at line 1766 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
-
template <typename Sink>void AbslStringify (Sink & sink, const FileDescriptor & d)Allows formatting with absl and gtest.
Defined at line 1945 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
-
template <typename T>internal::AllocatedRepeatedPtrFieldBackInsertIterator<T> AllocatedRepeatedPtrFieldBackInserter (RepeatedPtrField<T> *const mutable_field)Provides a back insert iterator for RepeatedPtrField instances
similar to std::back_inserter() which transfers the ownership while
copying elements.
Defined at line 2015 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h
-
bool Field_Kind_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * Field_Kind_descriptor () -
bool Field_Cardinality_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * Field_Cardinality_descriptor () -
bool ExtensionRangeOptions_VerificationState_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * ExtensionRangeOptions_VerificationState_descriptor () -
bool FieldDescriptorProto_Type_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FieldDescriptorProto_Type_descriptor () -
bool FieldDescriptorProto_Label_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FieldDescriptorProto_Label_descriptor () -
bool FileOptions_OptimizeMode_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FileOptions_OptimizeMode_descriptor () -
bool FieldOptions_CType_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FieldOptions_CType_descriptor () -
bool FieldOptions_JSType_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FieldOptions_JSType_descriptor () -
bool FieldOptions_OptionRetention_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FieldOptions_OptionRetention_descriptor () -
bool FieldOptions_OptionTargetType_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FieldOptions_OptionTargetType_descriptor () -
bool FeatureSet_FieldPresence_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FeatureSet_FieldPresence_descriptor () -
bool FeatureSet_EnumType_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FeatureSet_EnumType_descriptor () -
bool FeatureSet_RepeatedFieldEncoding_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FeatureSet_RepeatedFieldEncoding_descriptor () -
bool FeatureSet_Utf8Validation_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FeatureSet_Utf8Validation_descriptor () -
void DoNothing ()A function which does nothing. Useful for creating no-op callbacks, e.g.:
Closure* nothing = NewCallback(
&DoNothing
);
-
bool FeatureSet_MessageEncoding_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FeatureSet_MessageEncoding_descriptor () -
bool FeatureSet_JsonFormat_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * FeatureSet_JsonFormat_descriptor () -
bool GeneratedCodeInfo_Annotation_Semantic_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * GeneratedCodeInfo_Annotation_Semantic_descriptor () -
bool Edition_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * Edition_descriptor () -
template <typename T>void LinkMessageReflection ()Call this function to ensure that this message's reflection is linked into
the binary:
google::protobuf::LinkMessageReflection
<pkg
::FooMessage>();
This will ensure that the following lookup will succeed:
DescriptorPool::generated_pool()->FindMessageTypeByName("pkg.FooMessage");
As a side-effect, it will also guarantee that anything else from the same
.proto file will also be available for lookup in the generated pool.
This function does not actually register the message, so it does not need
to be called before the lookup. However it does need to occur in a function
that cannot be stripped from the binary (ie. it must be reachable from main).
Best practice is to call this function as close as possible to where the
reflection is actually needed. This function is very cheap to call, so you
should not need to worry about its runtime overhead except in the tightest
of loops (on x86-64 it compiles into two "mov" instructions).
Defined at line 1471 of file ../../third_party/protobuf/src/google/protobuf/message.h
-
template <typename ExtendeeType, typename TypeTraitsType, internal::FieldType field_type, bool is_packed>void LinkExtensionReflection (const google::protobuf::internal::ExtensionIdentifier<ExtendeeType, TypeTraitsType, field_type, is_packed> & extension)Call this function to ensure that this extensions's reflection is linked into
the binary:
google::protobuf::LinkExtensionReflection(Foo::my_extension);
This will ensure that the following lookup will succeed:
DescriptorPool::generated_pool()->FindExtensionByName("Foo.my_extension");
This is often relevant for parsing extensions in text mode.
As a side-effect, it will also guarantee that anything else from the same
.proto file will also be available for lookup in the generated pool.
This function does not actually register the extension, so it does not need
to be called before the lookup. However it does need to occur in a function
that cannot be stripped from the binary (ie. it must be reachable from main).
Best practice is to call this function as close as possible to where the
reflection is actually needed. This function is very cheap to call, so you
should not need to worry about its runtime overhead except in tight loops (on
x86-64 it compiles into two "mov" instructions).
Defined at line 1665 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
-
template <typename ExtendeeType, typename TypeTraitsType, internal::FieldType field_type, bool is_packed, typename PoolType = DescriptorPool>const FieldDescriptor * GetExtensionReflection (const google::protobuf::internal::ExtensionIdentifier<ExtendeeType, TypeTraitsType, field_type, is_packed> & extension)Returns the field descriptor for a generated extension identifier. This is
useful when doing reflection over generated extensions.
Defined at line 1676 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::Field_Kind> ()Defined at line 2956 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::Field_Cardinality> ()Defined at line 2962 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::Syntax> ()Defined at line 2968 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<fuchsia::sensors::SensorType> ()Defined at line 3329 of file gen/src/sensors/playback/proto/types.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<fuchsia::sensors::SensorWakeUpType> ()Defined at line 3335 of file gen/src/sensors/playback/proto/types.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<fuchsia::sensors::SensorReportingMode> ()Defined at line 3341 of file gen/src/sensors/playback/proto/types.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::ExtensionRangeOptions_VerificationState> ()Defined at line 20973 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FieldDescriptorProto_Type> ()Defined at line 20979 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FieldDescriptorProto_Label> ()Defined at line 20985 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FileOptions_OptimizeMode> ()Defined at line 20991 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FieldOptions_CType> ()Defined at line 20997 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FieldOptions_JSType> ()Defined at line 21003 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FieldOptions_OptionRetention> ()Defined at line 21009 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FieldOptions_OptionTargetType> ()Defined at line 21015 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::MethodOptions_IdempotencyLevel> ()Defined at line 21021 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FeatureSet_FieldPresence> ()Defined at line 21027 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FeatureSet_EnumType> ()Defined at line 21033 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FeatureSet_RepeatedFieldEncoding> ()Defined at line 21039 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FeatureSet_Utf8Validation> ()Defined at line 21045 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FeatureSet_MessageEncoding> ()Defined at line 21051 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::FeatureSet_JsonFormat> ()Defined at line 21057 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::GeneratedCodeInfo_Annotation_Semantic> ()Defined at line 21063 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <>const EnumDescriptor * GetEnumDescriptor<google::protobuf::Edition> ()Defined at line 21069 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename E>const EnumDescriptor * GetEnumDescriptor ()Returns the EnumDescriptor for enum type E, which must be a
proto-declared enum type. Code generated by the protocol compiler
will include specializations of this template for each enum type declared.
-
void ShutdownProtobufLibrary ()Shut down the entire protocol buffers library, deleting all static-duration
objects allocated by the library or by generated .pb.cc files.
There are two reasons you might want to call this:
* You use a draconian definition of "memory leak" in which you expect
every single malloc() to have a corresponding free(), even for objects
which live until program exit.
* You are writing a dynamically-loaded library which needs to clean up
after itself when the library is unloaded.
It is safe to call this multiple times. However, it is not safe to use
any other part of the protocol buffers library after
ShutdownProtobufLibrary() has been called. Furthermore this call is not
thread safe, user needs to synchronize multiple calls.
-
bool Syntax_IsValid (int value) -
uint32_t ghtonl (uint32_t x)===================================================================
from google3/util/endian/endian.h
-
const ::google::protobuf::EnumDescriptor * Syntax_descriptor () -
std::string ShortFormat (const Message & message) -
std::string Utf8Format (const Message & message) -
bool MethodOptions_IdempotencyLevel_IsValid (int value) -
const ::google::protobuf::EnumDescriptor * MethodOptions_IdempotencyLevel_descriptor () -
std::string ShortFormat (const MessageLite & message_lite) -
std::string Utf8Format (const MessageLite & message_lite) -
const char * ParseLenDelim (int field_number, const FieldDescriptor * field, Message * msg, const Reflection * reflection, const char * ptr, internal::ParseContext * ctx) -
const char * ParsePackedField (const FieldDescriptor * field, Message * msg, const Reflection * reflection, const char * ptr, internal::ParseContext * ctx) -
void swap (UninterpretedOption_NamePart & a, UninterpretedOption_NamePart & b)Defined at line 767 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (EnumValue & a, EnumValue & b)Defined at line 867 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
bool operator== (const MapIterator & a, const MapIterator & b)Defined at line 919 of file ../../third_party/protobuf/src/google/protobuf/map_field.h
-
bool operator!= (const MapIterator & a, const MapIterator & b)Defined at line 922 of file ../../third_party/protobuf/src/google/protobuf/map_field.h
-
void swap (SourceCodeInfo_Location & a, SourceCodeInfo_Location & b)Defined at line 984 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool operator== (TypeId a, TypeId b)Defined at line 1048 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
bool operator!= (TypeId a, TypeId b)Defined at line 1051 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
bool operator< (TypeId a, TypeId b)Defined at line 1052 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
bool operator> (TypeId a, TypeId b)Defined at line 1055 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
bool operator<= (TypeId a, TypeId b)Defined at line 1058 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
bool operator>= (TypeId a, TypeId b)Defined at line 1061 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
std::strong_ordering operator<=> (TypeId a, TypeId b)Defined at line 1067 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h
-
void swap (Type & a, Type & b)Defined at line 1095 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
void swap (GeneratedCodeInfo_Annotation & a, GeneratedCodeInfo_Annotation & b)Defined at line 1268 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
bool operator== (const const_iterator & a, const const_iterator & b)Defined at line 1395 of file ../../third_party/protobuf/src/google/protobuf/map.h
-
bool operator!= (const const_iterator & a, const const_iterator & b)Defined at line 1398 of file ../../third_party/protobuf/src/google/protobuf/map.h
-
void swap (Enum & a, Enum & b)Defined at line 1402 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-
template <typename T>internal::RepeatedFieldBackInsertIterator<T> RepeatedFieldBackInserter (RepeatedField<T> *const mutable_field)Provides a back insert iterator for RepeatedField instances,
similar to std::back_inserter().
Defined at line 1435 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h
-
bool operator== (const iterator & a, const iterator & b)Defined at line 1442 of file ../../third_party/protobuf/src/google/protobuf/map.h
-
bool operator!= (const iterator & a, const iterator & b)Defined at line 1445 of file ../../third_party/protobuf/src/google/protobuf/map.h
-
void swap (FieldOptions_FeatureSupport & a, FieldOptions_FeatureSupport & b)Defined at line 1547 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (FieldOptions_EditionDefault & a, FieldOptions_EditionDefault & b)Defined at line 1785 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (FeatureSet & a, FeatureSet & b)Defined at line 1997 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
template <typename T>internal::RepeatedPtrFieldBackInsertIterator<T> RepeatedPtrFieldBackInserter (RepeatedPtrField<T> *const mutable_field)Provides a back insert iterator for RepeatedPtrField instances,
similar to std::back_inserter().
Defined at line 1997 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h
-
template <typename T>internal::RepeatedPtrFieldBackInsertIterator<T> RepeatedFieldBackInserter (RepeatedPtrField<T> *const mutable_field)Special back insert iterator for RepeatedPtrField instances, just in
case someone wants to write generic template code that can access both
RepeatedFields and RepeatedPtrFields using a common name.
Defined at line 2006 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h
-
template <typename T>internal::UnsafeArenaAllocatedRepeatedPtrFieldBackInsertIterator<T> UnsafeArenaAllocatedRepeatedPtrFieldBackInserter (RepeatedPtrField<T> *const mutable_field)Similar to AllocatedRepeatedPtrFieldBackInserter, using
UnsafeArenaAddAllocated instead of AddAllocated.
This is slightly faster if that matters. It is also useful in legacy code
that uses temporary ownership to avoid copies. Example:
RepeatedPtrField
<T
> temp_field;
temp_field.UnsafeArenaAddAllocated(new T);
... // Do something with temp_field
temp_field.UnsafeArenaExtractSubrange(0, temp_field.size(), nullptr);
Putting temp_field on the arena fails because the ownership transfers to the
arena at the "AddAllocated" call and is not released anymore causing a
double delete. This function uses UnsafeArenaAddAllocated to prevent this.
Defined at line 2034 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h
-
void swap (ExtensionRangeOptions_Declaration & a, ExtensionRangeOptions_Declaration & b)Defined at line 2561 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (EnumDescriptorProto_EnumReservedRange & a, EnumDescriptorProto_EnumReservedRange & b)Defined at line 2818 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (DescriptorProto_ReservedRange & a, DescriptorProto_ReservedRange & b)Defined at line 3024 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (UninterpretedOption & a, UninterpretedOption & b)Defined at line 3230 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (SourceCodeInfo & a, SourceCodeInfo & b)Defined at line 3531 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (GeneratedCodeInfo & a, GeneratedCodeInfo & b)Defined at line 3915 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (FeatureSetDefaults_FeatureSetEditionDefault & a, FeatureSetDefaults_FeatureSetEditionDefault & b)Defined at line 4114 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (ServiceOptions & a, ServiceOptions & b)Defined at line 4346 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (OneofOptions & a, OneofOptions & b)Defined at line 4760 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (MethodOptions & a, MethodOptions & b)Defined at line 5161 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (MessageOptions & a, MessageOptions & b)Defined at line 5608 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (FileOptions & a, FileOptions & b)Defined at line 6074 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (FieldOptions & a, FieldOptions & b)Defined at line 6802 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (FeatureSetDefaults & a, FeatureSetDefaults & b)Defined at line 7466 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (ExtensionRangeOptions & a, ExtensionRangeOptions & b)Defined at line 7697 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (EnumValueOptions & a, EnumValueOptions & b)Defined at line 8150 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (EnumOptions & a, EnumOptions & b)Defined at line 8594 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (OneofDescriptorProto & a, OneofDescriptorProto & b)Defined at line 9034 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (MethodDescriptorProto & a, MethodDescriptorProto & b)Defined at line 9255 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (FieldDescriptorProto & a, FieldDescriptorProto & b)Defined at line 9540 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (EnumValueDescriptorProto & a, EnumValueDescriptorProto & b)Defined at line 9957 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (DescriptorProto_ExtensionRange & a, DescriptorProto_ExtensionRange & b)Defined at line 10191 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (ServiceDescriptorProto & a, ServiceDescriptorProto & b)Defined at line 10419 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (EnumDescriptorProto & a, EnumDescriptorProto & b)Defined at line 10659 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (DescriptorProto & a, DescriptorProto & b)Defined at line 10943 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (FileDescriptorProto & a, FileDescriptorProto & b)Defined at line 11323 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
-
void swap (FileDescriptorSet & aFileDescriptorSet & b)Defined at line 11752 of file ../../third_party/protobuf/src/google/protobuf/descriptor.pb.h
Variables
const uint32_t[] Edition_internal_data_
const uint32_t[] ExtensionRangeOptions_VerificationState_internal_data_
const uint32_t[] FeatureSet_EnumType_internal_data_
const uint32_t[] FeatureSet_FieldPresence_internal_data_
const uint32_t[] FeatureSet_JsonFormat_internal_data_
const uint32_t[] FeatureSet_MessageEncoding_internal_data_
const uint32_t[] FeatureSet_RepeatedFieldEncoding_internal_data_
const uint32_t[] FeatureSet_Utf8Validation_internal_data_
const uint32_t[] FieldDescriptorProto_Label_internal_data_
const uint32_t[] FieldDescriptorProto_Type_internal_data_
const uint32_t[] FieldOptions_CType_internal_data_
const uint32_t[] FieldOptions_JSType_internal_data_
const uint32_t[] FieldOptions_OptionRetention_internal_data_
const uint32_t[] FieldOptions_OptionTargetType_internal_data_
const uint32_t[] Field_Cardinality_internal_data_
const uint32_t[] Field_Kind_internal_data_
const uint32_t[] FileOptions_OptimizeMode_internal_data_
const uint32_t[] GeneratedCodeInfo_Annotation_Semantic_internal_data_
const uint32_t[] MethodOptions_IdempotencyLevel_internal_data_
const uint32_t[] Syntax_internal_data_
AnyDefaultTypeInternal _Any_default_instance_
DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_
DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_
DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_
EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_
EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_
EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_
EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_
EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_
EnumValueDefaultTypeInternal _EnumValue_default_instance_
EnumDefaultTypeInternal _Enum_default_instance_
ExtensionRangeOptions_DeclarationDefaultTypeInternal _ExtensionRangeOptions_Declaration_default_instance_
ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_
FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal _FeatureSetDefaults_FeatureSetEditionDefault_default_instance_
FeatureSetDefaultsDefaultTypeInternal _FeatureSetDefaults_default_instance_
FeatureSetDefaultTypeInternal _FeatureSet_default_instance_
FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_
FieldOptions_EditionDefaultDefaultTypeInternal _FieldOptions_EditionDefault_default_instance_
FieldOptions_FeatureSupportDefaultTypeInternal _FieldOptions_FeatureSupport_default_instance_
FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_
FieldDefaultTypeInternal _Field_default_instance_
FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_
FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_
FileOptionsDefaultTypeInternal _FileOptions_default_instance_
GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_
GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_
MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_
MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_
MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_
OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_
OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_
OptionDefaultTypeInternal _Option_default_instance_
ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_
ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_
SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_
SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_
SourceContextDefaultTypeInternal _SourceContext_default_instance_
TimestampDefaultTypeInternal _Timestamp_default_instance_
TypeDefaultTypeInternal _Type_default_instance_
UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_
UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_