Searched refs:FieldDescriptorProto (Results 1 - 18 of 18) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/
H A Dparser.cc59 typedef hash_map<string, FieldDescriptorProto::Type> TypeNameMap;
64 result["double" ] = FieldDescriptorProto::TYPE_DOUBLE;
65 result["float" ] = FieldDescriptorProto::TYPE_FLOAT;
66 result["uint64" ] = FieldDescriptorProto::TYPE_UINT64;
67 result["fixed64" ] = FieldDescriptorProto::TYPE_FIXED64;
68 result["fixed32" ] = FieldDescriptorProto::TYPE_FIXED32;
69 result["bool" ] = FieldDescriptorProto::TYPE_BOOL;
70 result["string" ] = FieldDescriptorProto::TYPE_STRING;
71 result["group" ] = FieldDescriptorProto::TYPE_GROUP;
73 result["bytes" ] = FieldDescriptorProto
[all...]
H A Dparser.h342 bool ParseMessageField(FieldDescriptorProto* field,
351 bool ParseMessageFieldNoLabel(FieldDescriptorProto* field,
365 bool ParseExtend(RepeatedPtrField<FieldDescriptorProto>* extensions,
407 bool ParseLabel(FieldDescriptorProto::Label* label,
412 bool ParseType(FieldDescriptorProto::Type* type,
420 bool ParseFieldOptions(FieldDescriptorProto* field,
426 bool ParseDefaultAssignment(FieldDescriptorProto* field,
H A Dparser_unittest.cc1377 FieldDescriptorProto* field(message->add_field());
1383 FieldDescriptorProto* extension(other_file.add_extension());
1897 const FieldDescriptorProto& field1 = file_.message_type(0).field(0);
1898 const FieldDescriptorProto& field2 = file_.message_type(0).field(1);
1928 const FieldDescriptorProto& field1 = file_.extension(0);
1929 const FieldDescriptorProto& field2 = file_.extension(1);
1930 const FieldDescriptorProto& field3 = file_.extension(2);
1972 const FieldDescriptorProto& field1 = file_.message_type(0).extension(0);
1973 const FieldDescriptorProto& field2 = file_.message_type(0).extension(1);
1974 const FieldDescriptorProto
[all...]
/external/protobuf/src/google/protobuf/
H A Ddescriptor_unittest.cc94 FieldDescriptorProto* AddField(DescriptorProto* parent,
96 FieldDescriptorProto::Label label,
97 FieldDescriptorProto::Type type) {
98 FieldDescriptorProto* result = parent->add_field();
106 FieldDescriptorProto* AddExtension(FileDescriptorProto* file,
109 FieldDescriptorProto::Label label,
110 FieldDescriptorProto::Type type) {
111 FieldDescriptorProto* result = file->add_extension();
120 FieldDescriptorProto* AddNestedExtension(DescriptorProto* parent,
123 FieldDescriptorProto
[all...]
H A Ddescriptor.pb.h42 class FieldDescriptorProto;
392 // repeated .google.protobuf.FieldDescriptorProto extension = 7;
396 inline const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
397 inline ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);
398 inline ::google::protobuf::FieldDescriptorProto* add_extension();
399 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
401 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
445 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
613 // repeated .google.protobuf.FieldDescriptorProto field = 2;
617 inline const ::google::protobuf::FieldDescriptorProto
722 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Message { class in namespace:google::protobuf
[all...]
H A Ddescriptor.pb.cc181 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, name_),
182 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, number_),
183 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, label_),
184 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_),
185 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_name_),
186 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, extendee_),
187 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, default_value_),
188 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, oneof_index_),
189 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, options_),
194 FieldDescriptorProto
2583 FieldDescriptorProto::FieldDescriptorProto() function in class:google::protobuf::FieldDescriptorProto
2593 FieldDescriptorProto::FieldDescriptorProto(const FieldDescriptorProto& from) function in class:google::protobuf::FieldDescriptorProto
[all...]
H A Ddescriptor_database.h119 // if the original FieldDescriptorProto defining the extension has a
171 bool AddExtension(const FieldDescriptorProto& field,
H A Ddescriptor.cc1631 void FieldDescriptor::CopyTo(FieldDescriptorProto* proto) const {
1637 proto->set_label(static_cast<FieldDescriptorProto::Label>(
1639 proto->set_type(static_cast<FieldDescriptorProto::Type>(
2468 void BuildFieldOrExtension(const FieldDescriptorProto& proto,
2472 void BuildField(const FieldDescriptorProto& proto,
2477 void BuildExtension(const FieldDescriptorProto& proto,
2511 const FieldDescriptorProto& proto);
2661 const FieldDescriptorProto& proto);
2672 const FieldDescriptorProto& proto);
3592 void DescriptorBuilder::BuildFieldOrExtension(const FieldDescriptorProto
[all...]
H A Ddescriptor_database.cc151 const FieldDescriptorProto& field,
H A Ddescriptor.h80 class FieldDescriptorProto;
531 void CopyTo(FieldDescriptorProto* proto) const;
787 // e.g. the full name of FieldDescriptorProto::TYPE_INT32 is actually
788 // "google.protobuf.FieldDescriptorProto.TYPE_INT32", NOT
789 // "google.protobuf.FieldDescriptorProto.Type.TYPE_INT32". This is to conform
H A Dextension_set_unittest.cc959 FieldDescriptorProto* extension = dynamic_proto.mutable_extension(i);
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DDescriptorsTest.java36 import com.google.protobuf.DescriptorProtos.FieldDescriptorProto;
79 // before a FieldDescriptorProto.Type value would yield a
86 FieldDescriptorProto.Type.values().length);
88 FieldDescriptorProto.Type protoType = type.toProto();
449 .addField(FieldDescriptorProto.newBuilder()
450 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL)
451 .setType(FieldDescriptorProto.Type.TYPE_INT32)
481 .addField(FieldDescriptorProto.newBuilder()
482 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL)
483 .setType(FieldDescriptorProto
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DDescriptors.java833 public FieldDescriptorProto toProto() { return proto; }
849 * {@code FieldDescriptorProto.Type} maps to exactly one Java type.
882 return proto.getLabel() == FieldDescriptorProto.Label.LABEL_REQUIRED;
887 return proto.getLabel() == FieldDescriptorProto.Label.LABEL_OPTIONAL;
892 return proto.getLabel() == FieldDescriptorProto.Label.LABEL_REPEATED;
1006 private FieldDescriptorProto proto;
1045 public FieldDescriptorProto.Type toProto() {
1046 return FieldDescriptorProto.Type.valueOf(ordinal() + 1);
1050 public static Type valueOf(final FieldDescriptorProto.Type type) {
1057 if (Type.values().length != FieldDescriptorProto
[all...]
/external/nanopb-c/generator/google/protobuf/
H A Ddescriptor_pb2.py15 serialized_pb='\n google/protobuf/descriptor.proto\x12\x0fgoogle.protobuf\"G\n\x11\x46ileDescriptorSet\x12\x32\n\x04\x66ile\x18\x01 \x03(\x0b\x32$.google.protobuf.FileDescriptorProto\"\xcb\x03\n\x13\x46ileDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07package\x18\x02 \x01(\t\x12\x12\n\ndependency\x18\x03 \x03(\t\x12\x19\n\x11public_dependency\x18\n \x03(\x05\x12\x17\n\x0fweak_dependency\x18\x0b \x03(\x05\x12\x36\n\x0cmessage_type\x18\x04 \x03(\x0b\x32 .google.protobuf.DescriptorProto\x12\x37\n\tenum_type\x18\x05 \x03(\x0b\x32$.google.protobuf.EnumDescriptorProto\x12\x38\n\x07service\x18\x06 \x03(\x0b\x32\'.google.protobuf.ServiceDescriptorProto\x12\x38\n\textension\x18\x07 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12-\n\x07options\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.FileOptions\x12\x39\n\x10source_code_info\x18\t \x01(\x0b\x32\x1f.google.protobuf.SourceCodeInfo\"\xa9\x03\n\x0f\x44\x65scriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05\x66ield\x18\x02 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12\x38\n\textension\x18\x06 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12\x35\n\x0bnested_type\x18\x03 \x03(\x0b\x32 .google.protobuf.DescriptorProto\x12\x37\n\tenum_type\x18\x04 \x03(\x0b\x32$.google.protobuf.EnumDescriptorProto\x12H\n\x0f\x65xtension_range\x18\x05 \x03(\x0b\x32/.google.protobuf.DescriptorProto.ExtensionRange\x12\x30\n\x07options\x18\x07 \x01(\x0b\x32\x1f.google.protobuf.MessageOptions\x1a,\n\x0e\x45xtensionRange\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\"\x94\x05\n\x14\x46ieldDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x03 \x01(\x05\x12:\n\x05label\x18\x04 \x01(\x0e\x32+.google.protobuf.FieldDescriptorProto.Label\x12\x38\n\x04type\x18\x05 \x01(\x0e\x32*.google.protobuf.FieldDescriptorProto.Type\x12\x11\n\ttype_name\x18\x06 \x01(\t\x12\x10\n\x08\x65xtendee\x18\x02 \x01(\t\x12\x15\n\rdefault_value\x18\x07 \x01(\t\x12.\n\x07options\x18\x08 \x01(\x0b\x32\x1d.google.protobuf.FieldOptions\"\xb6\x02\n\x04Type\x12\x0f\n\x0bTYPE_DOUBLE\x10\x01\x12\x0e\n\nTYPE_FLOAT\x10\x02\x12\x0e\n\nTYPE_INT64\x10\x03\x12\x0f\n\x0bTYPE_UINT64\x10\x04\x12\x0e\n\nTYPE_INT32\x10\x05\x12\x10\n\x0cTYPE_FIXED64\x10\x06\x12\x10\n\x0cTYPE_FIXED32\x10\x07\x12\r\n\tTYPE_BOOL\x10\x08\x12\x0f\n\x0bTYPE_STRING\x10\t\x12\x0e\n\nTYPE_GROUP\x10\n\x12\x10\n\x0cTYPE_MESSAGE\x10\x0b\x12\x0e\n\nTYPE_BYTES\x10\x0c\x12\x0f\n\x0bTYPE_UINT32\x10\r\x12\r\n\tTYPE_ENUM\x10\x0e\x12\x11\n\rTYPE_SFIXED32\x10\x0f\x12\x11\n\rTYPE_SFIXED64\x10\x10\x12\x0f\n\x0bTYPE_SINT32\x10\x11\x12\x0f\n\x0bTYPE_SINT64\x10\x12\"C\n\x05Label\x12\x12\n\x0eLABEL_OPTIONAL\x10\x01\x12\x12\n\x0eLABEL_REQUIRED\x10\x02\x12\x12\n\x0eLABEL_REPEATED\x10\x03\"\x8c\x01\n\x13\x45numDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x03(\x0b\x32).google.protobuf.EnumValueDescriptorProto\x12-\n\x07options\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.EnumOptions\"l\n\x18\x45numValueDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x02 \x01(\x05\x12\x32\n\x07options\x18\x03 \x01(\x0b\x32!.google.protobuf.EnumValueOptions\"\x90\x01\n\x16ServiceDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x06method\x18\x02 \x03(\x0b\x32&.google.protobuf.MethodDescriptorProto\x12\x30\n\x07options\x18\x03 \x01(\x0b\x32\x1f.google.protobuf.ServiceOptions\"\x7f\n\x15MethodDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ninput_type\x18\x02 \x01(\t\x12\x13\n\x0boutput_type\x18\x03 \x01(\t\x12/\n\x07options\x18\x04 \x01(\x0b\x32\x1e.google.protobuf.MethodOptions\"\xe9\x03\n\x0b\x46ileOptions\x12\x14\n\x0cjava_package\x18\x01 \x01(\t\x12\x1c\n\x14java_outer_classname\x18\x08 \x01(\t\x12\"\n\x13java_multiple_files\x18\n \x01(\x08:\x05\x66\x61lse\x12,\n\x1djava_generate_equals_and_hash\x18\x14 \x01(\x08:\x05\x66\x61lse\x12\x46\n\x0coptimize_for\x18\t \x01(\x0e\x32).google.protobuf.FileOptions.OptimizeMode:\x05SPEED\x12\x12\n\ngo_package\x18\x0b \x01(\t\x12\"\n\x13\x63\x63_generic_services\x18\x10 \x01(\x08:\x05\x66\x61lse\x12$\n\x15java_generic_services\x18\x11 \x01(\x08:\x05\x66\x61lse\x12\"\n\x13py_generic_services\x18\x12 \x01(\x08:\x05\x66\x61lse\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption\":\n\x0cOptimizeMode\x12\t\n\x05SPEED\x10\x01\x12\r\n\tCODE_SIZE\x10\x02\x12\x10\n\x0cLITE_RUNTIME\x10\x03*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\xb8\x01\n\x0eMessageOptions\x12&\n\x17message_set_wire_format\x18\x01 \x01(\x08:\x05\x66\x61lse\x12.\n\x1fno_standard_descriptor_accessor\x18\x02 \x01(\x08:\x05\x66\x61lse\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\xbe\x02\n\x0c\x46ieldOptions\x12:\n\x05\x63type\x18\x01 \x01(\x0e\x32#.google.protobuf.FieldOptions.CType:\x06STRING\x12\x0e\n\x06packed\x18\x02 \x01(\x08\x12\x13\n\x04lazy\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\x19\n\ndeprecated\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\x1c\n\x14\x65xperimental_map_key\x18\t \x01(\t\x12\x13\n\x04weak\x18\n \x01(\x08:\x05\x66\x61lse\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption\"/\n\x05\x43Type\x12\n\n\x06STRING\x10\x00\x12\x08\n\x04\x43ORD\x10\x01\x12\x10\n\x0cSTRING_PIECE\x10\x02*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"x\n\x0b\x45numOptions\x12\x19\n\x0b\x61llow_alias\x18\x02 \x01(\x08:\x04true\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"b\n\x10\x45numValueOptions\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"`\n\x0eServiceOptions\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"_\n\rMethodOptions\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\x9e\x02\n\x13UninterpretedOption\x12;\n\x04name\x18\x02 \x03(\x0b\x32-.google.protobuf.UninterpretedOption.NamePart\x12\x18\n\x10identifier_value\x18\x03 \x01(\t\x12\x1a\n\x12positive_int_value\x18\x04 \x01(\x04\x12\x1a\n\x12negative_int_value\x18\x05 \x01(\x03\x12\x14\n\x0c\x64ouble_value\x18\x06 \x01(\x01\x12\x14\n\x0cstring_value\x18\x07 \x01(\x0c\x12\x17\n\x0f\x61ggregate_value\x18\x08 \x01(\t\x1a\x33\n\x08NamePart\x12\x11\n\tname_part\x18\x01 \x02(\t\x12\x14\n\x0cis_extension\x18\x02 \x02(\x08\"\xb1\x01\n\x0eSourceCodeInfo\x12:\n\x08location\x18\x01 \x03(\x0b\x32(.google.protobuf.SourceCodeInfo.Location\x1a\x63\n\x08Location\x12\x10\n\x04path\x18\x01 \x03(\x05\x42\x02\x10\x01\x12\x10\n\x04span\x18\x02 \x03(\x05\x42\x02\x10\x01\x12\x18\n\x10leading_comments\x18\x03 \x01(\t\x12\x19\n\x11trailing_comments\x18\x04 \x01(\tB)\n\x13\x63om.google.protobufB\x10\x44\x65scriptorProtosH\x01')
21 full_name='google.protobuf.FieldDescriptorProto.Type',
106 full_name='google.protobuf.FieldDescriptorProto.Label',
411 name='FieldDescriptorProto',
412 full_name='google.protobuf.FieldDescriptorProto',
418 name='name', full_name='google.protobuf.FieldDescriptorProto
1249 class FieldDescriptorProto(_message.Message): class in inherits:_message.Message
[all...]
/external/nanopb-c/generator/
H A Dnanopb_generator.py48 FieldD = descriptor.FieldDescriptorProto
87 '''Parse Names() from FieldDescriptorProto type_name'''
163 '''desc is FieldDescriptorProto'''
615 For each, yield name, FieldDescriptorProto.
/external/google-tv-pairing-protocol/java/jar/
H A Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/protobuf/ com/google/protobuf/UninitializedMessageException ...
/external/protobuf/python/google/protobuf/internal/
H A Dreflection_test.py1033 new_field.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
1039 fdp = descriptor_pb2.FieldDescriptorProto
1050 new_field.label = descriptor_pb2.FieldDescriptorProto.LABEL_REPEATED
/external/libgdx/backends/gdx-backends-gwt/libs/
H A Dgwt-dev.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gwt/ com/google/gwt/core/ ...

Completed in 624 milliseconds