OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FieldDescriptorProto
(Results
1 - 25
of
60
) sorted by null
1
2
3
/frameworks/base/tools/streaming_proto/
main.cpp
139
get_proto_type(const
FieldDescriptorProto
& field)
142
case
FieldDescriptorProto
::TYPE_DOUBLE:
144
case
FieldDescriptorProto
::TYPE_FLOAT:
146
case
FieldDescriptorProto
::TYPE_INT64:
148
case
FieldDescriptorProto
::TYPE_UINT64:
150
case
FieldDescriptorProto
::TYPE_INT32:
152
case
FieldDescriptorProto
::TYPE_FIXED64:
154
case
FieldDescriptorProto
::TYPE_FIXED32:
156
case
FieldDescriptorProto
::TYPE_BOOL:
158
case
FieldDescriptorProto
::TYPE_STRING
[
all
...]
/external/protobuf/src/google/protobuf/compiler/
parser.cc
60
typedef hash_map<string,
FieldDescriptorProto
::Type> TypeNameMap;
65
result["double" ] =
FieldDescriptorProto
::TYPE_DOUBLE;
66
result["float" ] =
FieldDescriptorProto
::TYPE_FLOAT;
67
result["uint64" ] =
FieldDescriptorProto
::TYPE_UINT64;
68
result["fixed64" ] =
FieldDescriptorProto
::TYPE_FIXED64;
69
result["fixed32" ] =
FieldDescriptorProto
::TYPE_FIXED32;
70
result["bool" ] =
FieldDescriptorProto
::TYPE_BOOL;
71
result["string" ] =
FieldDescriptorProto
::TYPE_STRING;
72
result["group" ] =
FieldDescriptorProto
::TYPE_GROUP;
74
result["bytes" ] =
FieldDescriptorProto
::TYPE_BYTES
[
all
...]
parser.h
346
bool ParseMessageField(
FieldDescriptorProto
* field,
355
bool ParseMessageFieldNoLabel(
FieldDescriptorProto
* field,
377
bool ParseExtend(RepeatedPtrField<
FieldDescriptorProto
>* extensions,
419
bool ParseLabel(
FieldDescriptorProto
::Label* label,
424
bool ParseType(
FieldDescriptorProto
::Type* type,
432
bool ParseFieldOptions(
FieldDescriptorProto
* field,
438
bool ParseDefaultAssignment(
FieldDescriptorProto
* field,
442
bool ParseJsonName(
FieldDescriptorProto
* field,
483
FieldDescriptorProto
::Type key_type;
484
FieldDescriptorProto
::Type value_type
[
all
...]
parser_unittest.cc
[
all
...]
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/compiler/
parser.h
346
bool ParseMessageField(
FieldDescriptorProto
* field,
355
bool ParseMessageFieldNoLabel(
FieldDescriptorProto
* field,
377
bool ParseExtend(RepeatedPtrField<
FieldDescriptorProto
>* extensions,
419
bool ParseLabel(
FieldDescriptorProto
::Label* label,
424
bool ParseType(
FieldDescriptorProto
::Type* type,
432
bool ParseFieldOptions(
FieldDescriptorProto
* field,
438
bool ParseDefaultAssignment(
FieldDescriptorProto
* field,
442
bool ParseJsonName(
FieldDescriptorProto
* field,
483
FieldDescriptorProto
::Type key_type;
484
FieldDescriptorProto
::Type value_type
[
all
...]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
FieldDescriptor.cs
65
internal
FieldDescriptorProto
Proto { get; }
67
internal FieldDescriptor(
FieldDescriptorProto
proto, FileDescriptor file,
88
$"
FieldDescriptorProto
.oneof_index is out of range for type {parent.Name}");
132
private static FieldType GetFieldTypeFromProtoType(
FieldDescriptorProto
.Types.Type type)
136
case
FieldDescriptorProto
.Types.Type.Double:
138
case
FieldDescriptorProto
.Types.Type.Float:
140
case
FieldDescriptorProto
.Types.Type.Int64:
142
case
FieldDescriptorProto
.Types.Type.Uint64:
144
case
FieldDescriptorProto
.Types.Type.Int32:
146
case
FieldDescriptorProto
.Types.Type.Fixed64
[
all
...]
/external/protobuf/src/google/protobuf/
descriptor_unittest.cc
101
FieldDescriptorProto
* AddField(DescriptorProto* parent,
103
FieldDescriptorProto
::Label label,
104
FieldDescriptorProto
::Type type) {
105
FieldDescriptorProto
* result = parent->add_field();
113
FieldDescriptorProto
* AddExtension(FileDescriptorProto* file,
116
FieldDescriptorProto
::Label label,
117
FieldDescriptorProto
::Type type) {
118
FieldDescriptorProto
* result = file->add_extension();
127
FieldDescriptorProto
* AddNestedExtension(DescriptorProto* parent,
130
FieldDescriptorProto
::Label label
[
all
...]
descriptor.pb.h
48
class
FieldDescriptorProto
;
439
// repeated .google.protobuf.
FieldDescriptorProto
extension = 7;
443
const ::google::protobuf::
FieldDescriptorProto
& extension(int index) const;
444
::google::protobuf::
FieldDescriptorProto
* mutable_extension(int index);
445
::google::protobuf::
FieldDescriptorProto
* add_extension();
446
::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>*
448
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>&
505
::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
> extension_;
795
// repeated .google.protobuf.
FieldDescriptorProto
field = 2;
799
const ::google::protobuf::
FieldDescriptorProto
& field(int index) const
[
all
...]
descriptor.pb.cc
211
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
FieldDescriptorProto
, name_),
212
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
FieldDescriptorProto
, number_),
213
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
FieldDescriptorProto
, label_),
214
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
FieldDescriptorProto
, type_),
215
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
FieldDescriptorProto
, type_name_),
216
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
FieldDescriptorProto
, extendee_),
217
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
FieldDescriptorProto
, default_value_),
218
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
FieldDescriptorProto
, oneof_index_),
219
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
FieldDescriptorProto
, json_name_),
220
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
FieldDescriptorProto
, options_)
[
all
...]
descriptor_database.h
119
// if the original
FieldDescriptorProto
defining the extension has a
171
bool AddExtension(const
FieldDescriptorProto
& field,
/external/protobuf/python/google/protobuf/internal/
proto_builder_test.py
54
('foo', descriptor_pb2.
FieldDescriptorProto
.TYPE_INT64),
55
('bar', descriptor_pb2.
FieldDescriptorProto
.TYPE_STRING),
message_factory_test.py
161
ext.label = descriptor_pb2.
FieldDescriptorProto
.LABEL_OPTIONAL
178
ext.label = descriptor_pb2.
FieldDescriptorProto
.LABEL_OPTIONAL
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/compiler/
parser.h
328
bool ParseMessageField(
FieldDescriptorProto
* field,
340
bool ParseExtend(RepeatedPtrField<
FieldDescriptorProto
>* extensions,
367
bool ParseLabel(
FieldDescriptorProto
::Label* label);
371
bool ParseType(
FieldDescriptorProto
::Type* type,
379
bool ParseFieldOptions(
FieldDescriptorProto
* field,
384
bool ParseDefaultAssignment(
FieldDescriptorProto
* field,
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/compiler/
parser.h
328
bool ParseMessageField(
FieldDescriptorProto
* field,
340
bool ParseExtend(RepeatedPtrField<
FieldDescriptorProto
>* extensions,
367
bool ParseLabel(
FieldDescriptorProto
::Label* label);
371
bool ParseType(
FieldDescriptorProto
::Type* type,
379
bool ParseFieldOptions(
FieldDescriptorProto
* field,
384
bool ParseDefaultAssignment(
FieldDescriptorProto
* field,
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/compiler/
parser.h
328
bool ParseMessageField(
FieldDescriptorProto
* field,
340
bool ParseExtend(RepeatedPtrField<
FieldDescriptorProto
>* extensions,
367
bool ParseLabel(
FieldDescriptorProto
::Label* label);
371
bool ParseType(
FieldDescriptorProto
::Type* type,
379
bool ParseFieldOptions(
FieldDescriptorProto
* field,
384
bool ParseDefaultAssignment(
FieldDescriptorProto
* field,
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/compiler/
parser.h
328
bool ParseMessageField(
FieldDescriptorProto
* field,
340
bool ParseExtend(RepeatedPtrField<
FieldDescriptorProto
>* extensions,
367
bool ParseLabel(
FieldDescriptorProto
::Label* label);
371
bool ParseType(
FieldDescriptorProto
::Type* type,
379
bool ParseFieldOptions(
FieldDescriptorProto
* field,
384
bool ParseDefaultAssignment(
FieldDescriptorProto
* field,
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DescriptorsTest.java
36
import com.google.protobuf.DescriptorProtos.
FieldDescriptorProto
;
76
// before a
FieldDescriptorProto
.Type value would yield a
83
FieldDescriptorProto
.Type.values().length);
85
FieldDescriptorProto
.Type protoType = type.toProto();
456
.addField(
FieldDescriptorProto
.newBuilder()
457
.setLabel(
FieldDescriptorProto
.Label.LABEL_OPTIONAL)
458
.setType(
FieldDescriptorProto
.Type.TYPE_INT32)
488
.addField(
FieldDescriptorProto
.newBuilder()
489
.setLabel(
FieldDescriptorProto
.Label.LABEL_OPTIONAL)
490
.setType(
FieldDescriptorProto
.Type.TYPE_INT32
[
all
...]
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
RubyFieldDescriptor.java
70
builder = DescriptorProtos.
FieldDescriptorProto
.newBuilder();
97
DescriptorProtos.
FieldDescriptorProto
.Label.valueOf("LABEL_" + labelName.toUpperCase()));
157
this.builder.setType(DescriptorProtos.
FieldDescriptorProto
.Type.valueOf("TYPE_" + value.asJavaString().toUpperCase()));
262
protected DescriptorProtos.
FieldDescriptorProto
build() {
268
private DescriptorProtos.
FieldDescriptorProto
.Builder builder;
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
descriptor.pb.h
48
class
FieldDescriptorProto
;
439
// repeated .google.protobuf.
FieldDescriptorProto
extension = 7;
443
const ::google::protobuf::
FieldDescriptorProto
& extension(int index) const;
444
::google::protobuf::
FieldDescriptorProto
* mutable_extension(int index);
445
::google::protobuf::
FieldDescriptorProto
* add_extension();
446
::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>*
448
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>&
505
::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
> extension_;
795
// repeated .google.protobuf.
FieldDescriptorProto
field = 2;
799
const ::google::protobuf::
FieldDescriptorProto
& field(int index) const
[
all
...]
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/
descriptor.pb.h
42
class
FieldDescriptorProto
;
395
// repeated .google.protobuf.
FieldDescriptorProto
extension = 7;
399
inline const ::google::protobuf::
FieldDescriptorProto
& extension(int index) const;
400
inline ::google::protobuf::
FieldDescriptorProto
* mutable_extension(int index);
401
inline ::google::protobuf::
FieldDescriptorProto
* add_extension();
402
inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>&
404
inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>*
446
::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
> extension_;
622
// repeated .google.protobuf.
FieldDescriptorProto
field = 2;
626
inline const ::google::protobuf::
FieldDescriptorProto
& field(int index) const
[
all
...]
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/
descriptor.pb.h
42
class
FieldDescriptorProto
;
395
// repeated .google.protobuf.
FieldDescriptorProto
extension = 7;
399
inline const ::google::protobuf::
FieldDescriptorProto
& extension(int index) const;
400
inline ::google::protobuf::
FieldDescriptorProto
* mutable_extension(int index);
401
inline ::google::protobuf::
FieldDescriptorProto
* add_extension();
402
inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>&
404
inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>*
446
::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
> extension_;
622
// repeated .google.protobuf.
FieldDescriptorProto
field = 2;
626
inline const ::google::protobuf::
FieldDescriptorProto
& field(int index) const
[
all
...]
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/
descriptor.pb.h
42
class
FieldDescriptorProto
;
395
// repeated .google.protobuf.
FieldDescriptorProto
extension = 7;
399
inline const ::google::protobuf::
FieldDescriptorProto
& extension(int index) const;
400
inline ::google::protobuf::
FieldDescriptorProto
* mutable_extension(int index);
401
inline ::google::protobuf::
FieldDescriptorProto
* add_extension();
402
inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>&
404
inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>*
446
::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
> extension_;
622
// repeated .google.protobuf.
FieldDescriptorProto
field = 2;
626
inline const ::google::protobuf::
FieldDescriptorProto
& field(int index) const
[
all
...]
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/
descriptor.pb.h
42
class
FieldDescriptorProto
;
395
// repeated .google.protobuf.
FieldDescriptorProto
extension = 7;
399
inline const ::google::protobuf::
FieldDescriptorProto
& extension(int index) const;
400
inline ::google::protobuf::
FieldDescriptorProto
* mutable_extension(int index);
401
inline ::google::protobuf::
FieldDescriptorProto
* add_extension();
402
inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>&
404
inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
>*
446
::google::protobuf::RepeatedPtrField< ::google::protobuf::
FieldDescriptorProto
> extension_;
622
// repeated .google.protobuf.
FieldDescriptorProto
field = 2;
626
inline const ::google::protobuf::
FieldDescriptorProto
& field(int index) const
[
all
...]
/external/nanopb-c/generator/google/protobuf/
descriptor_pb2.py
15
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
.name', index=0
[
all
...]
/external/protobuf/python/google/protobuf/
proto_builder.py
128
field_proto.label = descriptor_pb2.
FieldDescriptorProto
.LABEL_OPTIONAL
Completed in 386 milliseconds
1
2
3