Home
last modified time | relevance | path

Searched refs:EnumDescriptorProto (Results 1 - 25 of 26) sorted by relevance

12

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DEnumDescriptor.cs44 private readonly EnumDescriptorProto proto;
49 internal EnumDescriptor(EnumDescriptorProto proto, FileDescriptor file, MessageDescriptor parent, int index, Type clrType) in EnumDescriptor()
69 internal EnumDescriptorProto Proto { get { return proto; } }
80 case EnumDescriptorProto.ValueFieldNumber: in GetNestedDescriptorListForField()
H A DDescriptor.cs172 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.EnumDescriptorProto), global::Google.Protobuf.Reflection.EnumDescriptorProto.Parser, new[]{ "Name", "Value", "Options", "ReservedRange", "ReservedName" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.EnumDescriptorProto.Types.EnumReservedRange), global::Google.Protobuf.Reflection.EnumDescriptorProto.Types.EnumReservedRange.Parser, new[]{ "Start", "End" }, null, null, null, null)}), in DescriptorReflection()
517 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumDescriptorProto> _repeated_enumType_codec
518 = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.Reflection.EnumDescriptorProto.Parser);
519 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto>();
521 public pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> EnumType {
1044 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumDescriptorProto> _repeated_enumType_code
3153 public sealed partial class EnumDescriptorProto : pb::IMessage<EnumDescriptorProto> global() class
3174 public EnumDescriptorProto() { EnumDescriptorProto() method in Google.Protobuf.Reflection.EnumDescriptorProto
3181 public EnumDescriptorProto(EnumDescriptorProto other) : this() { EnumDescriptorProto() method in Google.Protobuf.Reflection.EnumDescriptorProto
[all...]
/third_party/protobuf/src/google/protobuf/compiler/
H A Dparser.h316 bool ParseEnumDefinition(EnumDescriptorProto* enum_type,
337 bool ParseEnumBlock(EnumDescriptorProto* enum_type,
349 bool ParseEnumStatement(EnumDescriptorProto* message,
392 bool ParseReserved(EnumDescriptorProto* message,
394 bool ParseReservedNames(EnumDescriptorProto* message,
396 bool ParseReservedNumbers(EnumDescriptorProto* message,
523 bool ValidateEnum(const EnumDescriptorProto* proto);
H A Dparser.cc548 bool Parser::ValidateEnum(const EnumDescriptorProto* proto) { in ValidateEnum()
1771 bool Parser::ParseReserved(EnumDescriptorProto* message, in ParseReserved()
1789 bool Parser::ParseReservedNames(EnumDescriptorProto* message, in ParseReservedNames()
1799 bool Parser::ParseReservedNumbers(EnumDescriptorProto* message, in ParseReservedNumbers()
1805 EnumDescriptorProto::EnumReservedRange* range = in ParseReservedNumbers()
1811 location, EnumDescriptorProto::EnumReservedRange::kStartFieldNumber); in ParseReservedNumbers()
1820 location, EnumDescriptorProto::EnumReservedRange::kEndFieldNumber); in ParseReservedNumbers()
1830 location, EnumDescriptorProto::EnumReservedRange::kEndFieldNumber); in ParseReservedNumbers()
1969 bool Parser::ParseEnumDefinition(EnumDescriptorProto* enum_type, in ParseEnumDefinition()
1976 EnumDescriptorProto in ParseEnumDefinition()
[all...]
H A Dparser_unittest.cc3143 const EnumDescriptorProto& bar = file_.message_type(0).enum_type(0); in TEST_F()
3144 const EnumDescriptorProto& baz = file_.message_type(0).enum_type(1); in TEST_F()
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
H A DRubyEnumDescriptor.java77 this.builder = DescriptorProtos.EnumDescriptorProto.newBuilder(); in initialize()
163 public DescriptorProtos.EnumDescriptorProto.Builder getBuilder() { in getBuilder()
184 private DescriptorProtos.EnumDescriptorProto.Builder builder;
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.pb.h68 class EnumDescriptorProto;
145 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumDescriptorProto>(Arena*);
661 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
667 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index);
668 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
671 const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const;
672 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type();
674 const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const;
675 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_typ
2505 inline EnumDescriptorProto() : EnumDescriptorProto(nullptr) {} EnumDescriptorProto() function in PROTOBUF_FINAL
2510 : EnumDescriptorProto() { EnumDescriptorProto() function in PROTOBUF_FINAL
[all...]
H A Ddescriptor.pb.cc81 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EnumDescriptorProto> _instance;
206 new (ptr) PROTOBUF_NAMESPACE_ID::EnumDescriptorProto(); in InitDefaultsscc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto()
209 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto::InitAsDefaultInstance(); in InitDefaultsscc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto()
701 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, _has_bits_),
702 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, _internal_metadata_),
706 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, name_),
707 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, value_),
708 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, options_),
709 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, reserved_range_),
710 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, reserved_name
4775 EnumDescriptorProto::EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena) EnumDescriptorProto() function in EnumDescriptorProto
4784 EnumDescriptorProto::EnumDescriptorProto(const EnumDescriptorProto& from) EnumDescriptorProto() function in EnumDescriptorProto
[all...]
H A Ddescriptor_unittest.cc87 EnumDescriptorProto* AddEnum(FileDescriptorProto* file, in AddEnum()
89 EnumDescriptorProto* result = file->add_enum_type(); in AddEnum()
94 EnumDescriptorProto* AddNestedEnum(DescriptorProto* parent, in AddNestedEnum()
96 EnumDescriptorProto* result = parent->add_enum_type(); in AddNestedEnum()
163 EnumDescriptorProto::EnumReservedRange* AddReservedRange( in AddReservedRange()
164 EnumDescriptorProto* parent, int start, int end) { in AddReservedRange()
165 EnumDescriptorProto::EnumReservedRange* result = parent->add_reserved_range(); in AddReservedRange()
171 EnumValueDescriptorProto* AddEnumValue(EnumDescriptorProto* enum_proto, in AddEnumValue()
1342 EnumDescriptorProto* enum_proto = AddEnum(&foo_file, "TestEnum"); in SetUp()
1351 EnumDescriptorProto* enum2_prot in SetUp()
[all...]
H A Ddescriptor.h99 class EnumDescriptorProto;
1011 typedef EnumDescriptorProto Proto;
1049 void CopyTo(EnumDescriptorProto* proto) const;
H A Ddescriptor.cc2205 void EnumDescriptor::CopyTo(EnumDescriptorProto* proto) const { in CopyTo()
2212 EnumDescriptorProto::EnumReservedRange* range = proto->add_reserved_range(); in CopyTo()
3096 output->push_back(EnumDescriptorProto::kValueFieldNumber); in GetLocationPath()
3333 void BuildReservedRange(const EnumDescriptorProto::EnumReservedRange& proto,
3338 void CheckEnumValueUniqueness(const EnumDescriptorProto& proto,
3340 void BuildEnum(const EnumDescriptorProto& proto, const Descriptor* parent,
3365 const EnumDescriptorProto& proto);
3538 const EnumDescriptorProto& proto);
3553 const EnumDescriptorProto& proto);
5087 const EnumDescriptorProto in BuildReservedRange()
[all...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DEnumDescriptorProto.php16 * Generated from protobuf message <code>google.protobuf.EnumDescriptorProto</code>
18 class EnumDescriptorProto extends \Google\Protobuf\Internal\Message class
37 * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;</code>
57 * @type \Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange[]|\Google\Protobuf\Internal\RepeatedField $reserved_range
162 * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;</code>
175 * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;</code>
176 * @param \Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange[]|\Google\Protobuf\Internal\RepeatedField $var
181 $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange::class);
H A DEnumDescriptorProto_EnumReservedRange.php9 * This class is deprecated. Use Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange instead.
14 class_exists(EnumDescriptorProto\EnumReservedRange::class);
15 @trigger_error('Google\Protobuf\Internal\EnumDescriptorProto_EnumReservedRange is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange instead', E_USER_DEPRECATED);
H A DDescriptorProto.php37 * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code>
74 * @type \Google\Protobuf\Internal\EnumDescriptorProto[]|\Google\Protobuf\Internal\RepeatedField $enum_type
188 * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code>
197 * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code>
198 * @param \Google\Protobuf\Internal\EnumDescriptorProto[]|\Google\Protobuf\Internal\RepeatedField $var
203 $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\EnumDescriptorProto::class);
H A DFileDescriptorProto.php58 * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code>
109 * @type \Google\Protobuf\Internal\EnumDescriptorProto[]|\Google\Protobuf\Internal\RepeatedField $enum_type
307 * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code>
316 * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code>
317 * @param \Google\Protobuf\Internal\EnumDescriptorProto[]|\Google\Protobuf\Internal\RepeatedField $var
322 $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\EnumDescriptorProto::class);
/third_party/protobuf/php/src/Google/Protobuf/Internal/EnumDescriptorProto/
H A DEnumReservedRange.php5 namespace Google\Protobuf\Internal\EnumDescriptorProto;
20 * Generated from protobuf message <code>google.protobuf.EnumDescriptorProto.EnumReservedRange</code>
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/
H A Ddescriptor.js4 exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions = exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.methodOptions_IdempotencyLevelToJSON = exports.methodOptions_IdempotencyLevelFromJSON = exports.MethodOptions_IdempotencyLevel = exports.fieldOptions_JSTypeToJSON = exports.fieldOptions_JSTypeFromJSON = exports.FieldOptions_JSType = exports.fieldOptions_CTypeToJSON = exports.fieldOptions_CTypeFromJSON = exports.FieldOptions_CType = exports.fileOptions_OptimizeModeToJSON = exports.fileOptions_OptimizeModeFromJSON = exports.FileOptions_OptimizeMode = exports.fieldDescriptorProto_LabelToJSON = exports.fieldDescriptorProto_LabelFromJSON = exports.FieldDescriptorProto_Label = exports.fieldDescriptorProto_TypeToJSON = exports.fieldDescriptorProto_TypeFromJSON = exports.FieldDescriptorProto_Type = void 0;
390 enumType: Array.isArray(object?.enumType) ? object.enumType.map((e) => exports.EnumDescriptorProto.fromJSON(e)) : [],
429 obj.enumType = message.enumType.map((e) => e ? exports.EnumDescriptorProto.toJSON(e) : undefined);
478 enumType: Array.isArray(object?.enumType) ? object.enumType.map((e) => exports.EnumDescriptorProto.fromJSON(e)) : [],
514 obj.enumType = message.enumType.map((e) => e ? exports.EnumDescriptorProto.toJSON(e) : undefined);
671 exports.EnumDescriptorProto = {
/third_party/protobuf/benchmarks/util/
H A Dschema_proto2_to_proto3_util.h94 void ScrubEnum(EnumDescriptorProto *enum_type) { in ScrubEnum()
/third_party/protobuf/php/src/GPBMetadata/Google/Protobuf/Internal/
H A DDescriptor.php28 ->repeated('enum_type', \Google\Protobuf\Internal\GPBType::MESSAGE, 5, 'google.protobuf.internal.EnumDescriptorProto')
41 ->repeated('enum_type', \Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.EnumDescriptorProto')
110 $pool->addMessage('google.protobuf.internal.EnumDescriptorProto', \Google\Protobuf\Internal\EnumDescriptorProto::class)
114 ->repeated('reserved_range', \Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.EnumDescriptorProto.EnumReservedRange')
118 $pool->addMessage('google.protobuf.internal.EnumDescriptorProto.EnumReservedRange', \Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange::class)
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DDescriptors.java36 import com.google.protobuf.DescriptorProtos.EnumDescriptorProto;
1652 public EnumDescriptorProto toProto() { in toProto()
1779 private EnumDescriptorProto proto;
1788 final EnumDescriptorProto proto, in EnumDescriptor()
1814 private void setProto(final EnumDescriptorProto proto) { in setProto()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DDescriptorsTest.java39 import com.google.protobuf.DescriptorProtos.EnumDescriptorProto;
660 EnumDescriptorProto.newBuilder() in testComplexNamespacePublicDependency()
756 EnumDescriptorProto.newBuilder() in testPackedEnumField()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DDescriptorsTest.java35 import com.google.protobuf.DescriptorProtos.EnumDescriptorProto;
607 .addEnumType(EnumDescriptorProto.newBuilder() in testComplexNamespacePublicDependency()
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
H A Ddescriptor_test.py475 descriptor_pb2.EnumDescriptorProto,
/third_party/protobuf/src/google/protobuf/compiler/python/
H A Dpython_generator.cc560 EnumDescriptorProto edp; in PrintEnum()
/third_party/protobuf/python/google/protobuf/internal/
H A Ddescriptor_test.py761 descriptor_pb2.EnumDescriptorProto,

Completed in 70 milliseconds

12