Searched refs:LABEL_OPTIONAL (Results 1 - 25 of 30) sorted by relevance

12

/external/protobuf/python/google/protobuf/
H A Dproto_builder.py128 field_proto.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
H A Ddescriptor.py483 LABEL_OPTIONAL = 1 variable in class:FieldDescriptor
H A Dtext_format.py245 field.label == descriptor.FieldDescriptor.LABEL_OPTIONAL):
/external/protobuf/src/google/protobuf/
H A Ddescriptor_unittest.cc268 FieldDescriptorProto::LABEL_OPTIONAL,
279 FieldDescriptorProto::LABEL_OPTIONAL,
554 FieldDescriptorProto::LABEL_OPTIONAL,
562 FieldDescriptorProto::LABEL_OPTIONAL,
587 FieldDescriptorProto::LABEL_OPTIONAL,
590 FieldDescriptorProto::LABEL_OPTIONAL,
604 FieldDescriptorProto::LABEL_OPTIONAL,
607 FieldDescriptorProto::LABEL_OPTIONAL,
610 FieldDescriptorProto::LABEL_OPTIONAL,
613 FieldDescriptorProto::LABEL_OPTIONAL,
[all...]
H A Ddescriptor.h494 LABEL_OPTIONAL = 1, // optional enumerator in enum:google::protobuf::FieldDescriptor::Label
545 bool is_optional() const; // shorthand for label() == LABEL_OPTIONAL
1799 return label() == LABEL_OPTIONAL;
H A Dextension_set_heavy.cc140 : FieldDescriptor::LABEL_OPTIONAL, \
H A Ddescriptor.cc139 "optional", // LABEL_OPTIONAL
4837 if (field->label() != FieldDescriptor::LABEL_OPTIONAL) {
4843 "Fields of oneofs must themselves have label LABEL_OPTIONAL.");
5399 if (key->label() != FieldDescriptor::LABEL_OPTIONAL || key->number() != 1 ||
5403 if (value->label() != FieldDescriptor::LABEL_OPTIONAL ||
/external/protobuf/python/google/protobuf/internal/
H A Dmessage_factory_test.py161 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
178 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
H A Ddescriptor_test.py73 label=descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL)
H A Dpython_message.py275 field.label == _FieldDescriptor.LABEL_OPTIONAL)
H A Dreflection_test.py1016 label=FieldDescriptor.LABEL_OPTIONAL, default_value=0,
1046 new_field.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
2891 ' label: LABEL_OPTIONAL'
2900 ' label: LABEL_OPTIONAL'
2916 ' label: LABEL_OPTIONAL'
/external/protobuf/java/core/src/test/java/com/google/protobuf/
H A DDescriptorsTest.java457 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL)
489 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL)
498 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL)
581 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL)
603 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL)
626 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL)
662 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL)
/external/protobuf/python/google/protobuf/pyext/
H A Dextension_dict.cc169 if (descriptor->label() != FieldDescriptor::LABEL_OPTIONAL ||
/external/protobuf/src/google/protobuf/util/
H A Dtype_resolver_util.cc150 case FieldDescriptor::LABEL_OPTIONAL:
/external/protobuf/src/google/protobuf/compiler/
H A Dparser.cc794 if (label == FieldDescriptorProto::LABEL_OPTIONAL &&
865 field->set_label(FieldDescriptorProto::LABEL_OPTIONAL);
871 field->set_label(FieldDescriptorProto::LABEL_OPTIONAL);
981 key_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL);
990 value_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL);
1650 field->set_label(FieldDescriptorProto::LABEL_OPTIONAL);
1946 *label = FieldDescriptorProto::LABEL_OPTIONAL;
/external/protobuf/src/google/protobuf/compiler/javamicro/
H A Djavamicro_message.cc434 case FieldDescriptor::LABEL_OPTIONAL:
/external/nanopb-c/generator/google/protobuf/
H A Ddescriptor.py423 LABEL_OPTIONAL = 1 variable in class:FieldDescriptor
H A Dtext_format.py87 field.label == descriptor.FieldDescriptor.LABEL_OPTIONAL):
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_message_builder.cc593 case FieldDescriptor::LABEL_OPTIONAL:
H A Djava_message_lite.cc718 case FieldDescriptor::LABEL_OPTIONAL:
H A Djava_message.cc888 case FieldDescriptor::LABEL_OPTIONAL:
/external/protobuf/src/google/protobuf/compiler/ruby/
H A Druby_generator.cc84 case FieldDescriptor::LABEL_OPTIONAL: return "optional";
/external/nanopb-c/generator/google/protobuf/internal/
H A Dpython_message.py188 field.label == _FieldDescriptor.LABEL_OPTIONAL)
/external/nanopb-c/generator/
H A Dnanopb_generator.py188 elif desc.label == FieldD.LABEL_OPTIONAL:
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DDescriptors.java993 return proto.getLabel() == FieldDescriptorProto.Label.LABEL_OPTIONAL;

Completed in 3124 milliseconds

12