Home
last modified time | relevance | path

Searched refs:LABEL_REQUIRED (Results 1 - 20 of 20) sorted by relevance

/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptorProto/
H A DLabel.php21 * Generated from protobuf enum <code>LABEL_REQUIRED = 2;</code>
23 const LABEL_REQUIRED = 2;
31 self::LABEL_REQUIRED => 'LABEL_REQUIRED',
/third_party/protobuf/python/google/protobuf/internal/
H A Ddescriptor_test.py965 field.label = descriptor.FieldDescriptor.LABEL_REQUIRED
970 field.label = descriptor.FieldDescriptor.LABEL_REQUIRED
976 enum_field.label = descriptor.FieldDescriptor.LABEL_REQUIRED
1010 field.label = descriptor.FieldDescriptor.LABEL_REQUIRED
1015 enum_field.label = descriptor.FieldDescriptor.LABEL_REQUIRED
H A Dpython_message.py1224 if field.label == _FieldDescriptor.LABEL_REQUIRED]
/third_party/protobuf/benchmarks/util/
H A Dschema_proto2_to_proto3_util.h167 return field->label() == FieldDescriptorProto::LABEL_REQUIRED; in ShouldClearLabel()
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_message_builder.cc646 case FieldDescriptor::LABEL_REQUIRED: in GenerateIsInitialized()
H A Djava_message.cc907 case FieldDescriptor::LABEL_REQUIRED: in GenerateIsInitialized()
/third_party/protobuf/src/google/protobuf/compiler/ruby/
H A Druby_generator.cc86 case FieldDescriptor::LABEL_REQUIRED: return "required"; in LabelForField()
/third_party/protobuf/src/google/protobuf/util/
H A Dtype_resolver_util.cc255 case FieldDescriptor::LABEL_REQUIRED: in ConvertFieldDescriptor()
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.h644 LABEL_REQUIRED = 2, // required enumerator
693 bool is_required() const; // shorthand for label() == LABEL_REQUIRED
2170 return label() == LABEL_REQUIRED; in is_required()
H A Ddescriptor_unittest.cc669 AddField(message, "foo", 1, FieldDescriptorProto::LABEL_REQUIRED, in SetUp()
686 AddField(message2, "foo", 1, FieldDescriptorProto::LABEL_REQUIRED, in SetUp()
688 AddField(message2, "bar", 2, FieldDescriptorProto::LABEL_REQUIRED, in SetUp()
690 AddField(message2, "quux", 6, FieldDescriptorProto::LABEL_REQUIRED, in SetUp()
978 EXPECT_EQ(FieldDescriptor::LABEL_REQUIRED, foo_->label()); in TEST_F()
4622 " label:LABEL_REQUIRED" in TEST_F()
6032 key->set_label(FieldDescriptorProto::LABEL_REQUIRED); in TEST_F()
6062 value->set_label(FieldDescriptorProto::LABEL_REQUIRED); in TEST_F()
6351 " field { name:'foo' number:1 label:LABEL_REQUIRED type:TYPE_INT32 } " in TEST_F()
6364 " field { name:'bar' number:1 label:LABEL_REQUIRED typ in TEST_F()
[all...]
H A Ddescriptor.cc216 "required", // LABEL_REQUIRED
4797 if (result->label_ == FieldDescriptor::LABEL_REQUIRED) { in BuildFieldOrExtension()
H A Ddescriptor.pb.cc1064 "\022\n\016LABEL_REQUIRED\020\002\022\022\n\016LABEL_REPEATED\020\003\""
1277 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_REQUIRED; member in FieldDescriptorProto
H A Ddescriptor.pb.h1911 static constexpr Label LABEL_REQUIRED = member in PROTOBUF_FINAL
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
H A Ddescriptor_test.py605 field.label = descriptor.FieldDescriptor.LABEL_REQUIRED
/third_party/protobuf/python/google/protobuf/
H A Ddescriptor.py523 LABEL_REQUIRED = 2 variable in FieldDescriptor
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/
H A Ddescriptor.js156 FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REQUIRED"] = 2] = "LABEL_REQUIRED";
165 case "LABEL_REQUIRED":
166 return FieldDescriptorProto_Label.LABEL_REQUIRED;
179 case FieldDescriptorProto_Label.LABEL_REQUIRED:
180 return "LABEL_REQUIRED";
/third_party/protobuf/src/google/protobuf/compiler/
H A Dparser.cc2257 *label = FieldDescriptorProto::LABEL_REQUIRED; in ParseLabel()
/third_party/protobuf/src/google/protobuf/compiler/php/
H A Dphp_generator.cc432 case FieldDescriptor::LABEL_REQUIRED: return "required"; in LabelForField()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DDescriptors.java1071 return proto.getLabel() == FieldDescriptorProto.Label.LABEL_REQUIRED; in isRequired()
/third_party/protobuf/src/google/protobuf/compiler/js/
H A Djs_generator.cc2664 (field->label() == FieldDescriptor::LABEL_REQUIRED ? ", 1" : "")); in GenerateClassField()

Completed in 91 milliseconds