/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptorProto/ |
H A D | Label.php | 17 * Generated from protobuf enum <code>LABEL_OPTIONAL = 1;</code> 19 const LABEL_OPTIONAL = 1; 30 self::LABEL_OPTIONAL => 'LABEL_OPTIONAL',
|
/third_party/protobuf/src/google/protobuf/ |
H A 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...] |
H A D | extension_set_heavy.cc | 145 : FieldDescriptor::LABEL_OPTIONAL, \
|
H A D | descriptor.h | 643 LABEL_OPTIONAL = 1, // optional enumerator 694 bool is_optional() const; // shorthand for label() == LABEL_OPTIONAL 2174 return label() == LABEL_OPTIONAL; in is_optional()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A 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()
|
H A 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/ |
H A 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/ |
H A D | proto_builder.py | 128 field_proto.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
|
H A D | descriptor.py | 522 LABEL_OPTIONAL = 1 variable in FieldDescriptor
|
H A D | descriptor_pool.py | 115 field.label == descriptor.FieldDescriptor.LABEL_OPTIONAL)
|
H A D | text_format.py | 535 field.label == descriptor.FieldDescriptor.LABEL_OPTIONAL):
|
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | message_factory_test.py | 187 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL 204 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
|
H A D | descriptor_pool_test.py | 635 field.label = descriptor.FieldDescriptor.LABEL_OPTIONAL 1006 label=descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL)
|
H A D | python_message.py | 273 field.label == _FieldDescriptor.LABEL_OPTIONAL)
|
H A D | descriptor_test.py | 77 label=descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL) 779 label: LABEL_OPTIONAL
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A 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()
|
H A D | parser_unittest.cc | 367 " field { name:\"bar\" label:LABEL_OPTIONAL type:TYPE_INT32 number:34 }" in TEST_F() 540 " name: \"foo\" label: LABEL_OPTIONAL type: TYPE_STRING number: 1" in TEST_F() 556 " field { name: \"foo\" label: LABEL_OPTIONAL type: TYPE_STRING number: " in TEST_F() 606 " field { name:\"a\" label:LABEL_OPTIONAL type:TYPE_INT32 number:1 " in TEST_F() 608 " field { name:\"b\" label:LABEL_OPTIONAL type:TYPE_STRING number:2 " in TEST_F() 610 " field { name:\"c\" label:LABEL_OPTIONAL type_name:\"TestMessage\" " in TEST_F() 612 " field { name:\"d\" label:LABEL_OPTIONAL type:TYPE_GROUP " in TEST_F() 619 " field { name:\"i\" label:LABEL_OPTIONAL type:TYPE_INT32 number:5 }" in TEST_F() 639 " field { name:\"a\" label:LABEL_OPTIONAL type:TYPE_INT32 number:1 " in TEST_F() 641 " field { name:\"b\" label:LABEL_OPTIONAL typ in TEST_F() [all...] |
H A D | command_line_interface_unittest.cc | 694 extension_option->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in TEST_F()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
H A 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/java/ |
H A D | java_message_builder.cc | 655 case FieldDescriptor::LABEL_OPTIONAL: in GenerateIsInitialized()
|
H A D | java_message.cc | 917 case FieldDescriptor::LABEL_OPTIONAL: in GenerateIsInitialized()
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
H A D | ruby_generator.cc | 85 case FieldDescriptor::LABEL_OPTIONAL: return "optional"; in LabelForField()
|
/third_party/protobuf/src/google/protobuf/util/ |
H A D | type_resolver_util.cc | 249 case FieldDescriptor::LABEL_OPTIONAL: in ConvertFieldDescriptor()
|
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/ |
H A D | descriptor.js | 154 /** LABEL_OPTIONAL - 0 is reserved for errors */ 155 FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_OPTIONAL"] = 1] = "LABEL_OPTIONAL"; 162 case "LABEL_OPTIONAL": 163 return FieldDescriptorProto_Label.LABEL_OPTIONAL; 177 case FieldDescriptorProto_Label.LABEL_OPTIONAL: 178 return "LABEL_OPTIONAL";
|
/third_party/protobuf/src/google/protobuf/compiler/php/ |
H A D | php_generator.cc | 431 case FieldDescriptor::LABEL_OPTIONAL: return "optional"; in LabelForField()
|