/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptorProto/ |
D | Label.php | 19 const LABEL_OPTIONAL = 1; define in Google\\Protobuf\\Internal\\FieldDescriptorProto\\Label 30 self::LABEL_OPTIONAL => 'LABEL_OPTIONAL',
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 327 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp() 338 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp() 671 AddField(message, "bar", 6, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp() 677 AddField(message, "qux", 15, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp() 698 AddField(entry, "key", 1, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp() 700 AddField(entry, "value", 2, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp() 713 AddField(message4, "field_name1", 1, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp() 715 AddField(message4, "fieldName2", 2, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp() 717 AddField(message4, "FieldName3", 3, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp() 719 AddField(message4, "_field_name4", 4, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp() [all …]
|
D | descriptor.h | 643 LABEL_OPTIONAL = 1, // optional enumerator 2174 return label() == LABEL_OPTIONAL; in is_optional()
|
D | extension_set_heavy.cc | 145 : FieldDescriptor::LABEL_OPTIONAL, \
|
D | descriptor.proto | 174 LABEL_OPTIONAL = 1; enumerator 237 // optional with `LABEL_OPTIONAL`.
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DescriptorsTest.java | 428 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorValidatorException() 462 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorComplexCrosslink() 473 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorComplexCrosslink() 550 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testUnknownFieldsDenied() 575 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testUnknownFieldsAllowed() 603 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testHiddenDependency() 642 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testPublicDependency()
|
D | TextFormatTest.java | 581 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testPrintAny_anyWithDynamicMessage() 587 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testPrintAny_anyWithDynamicMessage() 616 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testPrintAny_anyFromWithNoValueField() 639 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testPrintAny_anyFromWithNoTypeUrlField() 662 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testPrintAny_anyWithInvalidFieldType() 668 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testPrintAny_anyWithInvalidFieldType()
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | DescriptorsTest.java | 443 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorValidatorException() 475 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorComplexCrosslink() 484 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorComplexCrosslink() 550 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testHiddenDependency() 586 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testPublicDependency()
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | message_factory_test.py | 187 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL 204 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
|
D | descriptor_pool_test.py | 635 field.label = descriptor.FieldDescriptor.LABEL_OPTIONAL 1006 label=descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL)
|
/third_party/protobuf/python/google/protobuf/ |
D | proto_builder.py | 128 field_proto.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
|
D | descriptor.py | 522 LABEL_OPTIONAL = 1 variable in FieldDescriptor
|
D | descriptor_pool.py | 115 field.label == descriptor.FieldDescriptor.LABEL_OPTIONAL)
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | extension_dict.cc | 221 if (descriptor->label() != FieldDescriptor::LABEL_OPTIONAL || in ass_subscript() 253 extension->label() == FieldDescriptor::LABEL_OPTIONAL) { in _FindExtensionByName()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 947 if (label == FieldDescriptorProto::LABEL_OPTIONAL && in ParseMessageField() 1013 field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in ParseMessageFieldNoLabel() 1019 field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in ParseMessageFieldNoLabel() 1141 key_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in GenerateMapEntry() 1150 value_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in GenerateMapEntry() 1950 field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in ParseOneof() 2252 *label = FieldDescriptorProto::LABEL_OPTIONAL; in ParseLabel()
|
D | parser_unittest.cc | 2112 field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in TEST_F() 2118 extension->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in TEST_F()
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_builder.cc | 655 case FieldDescriptor::LABEL_OPTIONAL: in GenerateIsInitialized()
|
D | java_message.cc | 917 case FieldDescriptor::LABEL_OPTIONAL: in GenerateIsInitialized()
|
/third_party/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 249 case FieldDescriptor::LABEL_OPTIONAL: in ConvertFieldDescriptor()
|
/third_party/protobuf/docs/ |
D | implementing_proto3_presence.md | 45 descriptors already use `LABEL_OPTIONAL` for proto3 singular fields, which do 47 protos and assumes that `LABEL_OPTIONAL` in proto3 means "no presence." Changing
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 85 case FieldDescriptor::LABEL_OPTIONAL: return "optional"; in LabelForField()
|
/third_party/grpc/third_party/upb/tests/bindings/lua/ |
D | test_upb.lua | 35 assert_equal(upb.LABEL_OPTIONAL, f:label())
|
/third_party/grpc/third_party/upb/upbc/ |
D | protoc-gen-upb.cc | 718 case protobuf::FieldDescriptor::LABEL_OPTIONAL: in TryFillTableEntry()
|
/third_party/grpc/third_party/upb/benchmarks/ |
D | descriptor_sv.proto | 170 LABEL_OPTIONAL = 1; enumerator 233 // optional with `LABEL_OPTIONAL`.
|
D | descriptor.proto | 170 LABEL_OPTIONAL = 1; enumerator 233 // optional with `LABEL_OPTIONAL`.
|