Home
last modified time | relevance | path

Searched refs:FieldDescriptorProto_Label (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/protobuf-codegen/src/
Dextensions.rs30 FieldDescriptorProto_Label::LABEL_REPEATED => true, in repeated()
31 FieldDescriptorProto_Label::LABEL_OPTIONAL => false, in repeated()
32 FieldDescriptorProto_Label::LABEL_REQUIRED => { in repeated()
/external/protobuf/php/src/Google/Protobuf/Internal/
DFieldDescriptorProto_Label.php12 class FieldDescriptorProto_Label {} class
DFieldDescriptorProto.php212 GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldDescriptorProto_Label::class);
/external/rust/crates/protobuf/src/reflect/
Dfield.rs2 use crate::descriptor::FieldDescriptorProto_Label;
74 self.proto.get_label() == FieldDescriptorProto_Label::LABEL_REPEATED in is_repeated()
/external/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptorProto/
DLabel.php57 class_alias(Label::class, \Google\Protobuf\Internal\FieldDescriptorProto_Label::class);
/external/golang-protobuf/protoc-gen-go/descriptor/
Ddescriptor.pb.go122 type FieldDescriptorProto_Label int32 type
126 FieldDescriptorProto_LABEL_OPTIONAL FieldDescriptorProto_Label = 1
127 FieldDescriptorProto_LABEL_REQUIRED FieldDescriptorProto_Label = 2
128 FieldDescriptorProto_LABEL_REPEATED FieldDescriptorProto_Label = 3
143 func (x FieldDescriptorProto_Label) Enum() *FieldDescriptorProto_Label {
144 p := new(FieldDescriptorProto_Label)
149 func (x FieldDescriptorProto_Label) String() string {
153 func (x *FieldDescriptorProto_Label) UnmarshalJSON(data []byte) error {
158 *x = FieldDescriptorProto_Label(value)
162 func (FieldDescriptorProto_Label) EnumDescriptor() ([]byte, []int) {
[all …]
/external/rust/crates/protobuf-codegen/src/field/
Dmod.rs463 && field.field.get_label() != FieldDescriptorProto_Label::LABEL_REPEATED in parse()
470 let kind = if field.field.get_label() == FieldDescriptorProto_Label::LABEL_REPEATED { in parse()
495 required: field.field.get_label() == FieldDescriptorProto_Label::LABEL_REQUIRED, in parse()
818 (FieldDescriptorProto_Label::LABEL_REPEATED, _) => "repeated ", in reconstruct_def()
820 (FieldDescriptorProto_Label::LABEL_OPTIONAL, _) => "optional ", in reconstruct_def()
821 (FieldDescriptorProto_Label::LABEL_REQUIRED, _) => "required ", in reconstruct_def()
/external/rust/crates/protobuf/src/
Ddescriptor.rs2141 label: ::std::option::Option<FieldDescriptorProto_Label>,
2226 pub fn get_label(&self) -> FieldDescriptorProto_Label { in get_label() argument
2227 self.label.unwrap_or(FieldDescriptorProto_Label::LABEL_OPTIONAL) in get_label()
2238 pub fn set_label(&mut self, v: FieldDescriptorProto_Label) { in set_label() argument
2671 …t::accessor::make_option_accessor::<_, crate::types::ProtobufTypeEnum<FieldDescriptorProto_Label>>( in descriptor_static()
2861 pub enum FieldDescriptorProto_Label { enum
2867 impl crate::ProtobufEnum for FieldDescriptorProto_Label { implementation
2872 fn from_i32(value: i32) -> ::std::option::Option<FieldDescriptorProto_Label> { in from_i32() argument
2874 1 => ::std::option::Option::Some(FieldDescriptorProto_Label::LABEL_OPTIONAL), in from_i32()
2875 2 => ::std::option::Option::Some(FieldDescriptorProto_Label::LABEL_REQUIRED), in from_i32()
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor.pb.h211 enum FieldDescriptorProto_Label : int { enum
217 constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_La…
218 constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_La…
224 static_assert(::std::is_same<T, FieldDescriptorProto_Label>::value || in FieldDescriptorProto_Label_Name()
231 const std::string& name, FieldDescriptorProto_Label* value) { in FieldDescriptorProto_Label_Parse()
232 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Label>( in FieldDescriptorProto_Label_Parse()
1877 typedef FieldDescriptorProto_Label Label;
2054 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label label() const;
2055 void set_label(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value);
7876 inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::label() const { in label()
[all …]
Ddescriptor.pb.cc1280 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_OPTIONAL;
1281 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_REQUIRED;
1282 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_REPEATED;
1283 constexpr FieldDescriptorProto_Label FieldDescriptorProto::Label_MIN;
1284 constexpr FieldDescriptorProto_Label FieldDescriptorProto::Label_MAX;
4803 set_label(static_cast<PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label>(val)); in _InternalParse()
4939 set_label(static_cast< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label >(value)); in MergePartialFromCodedStream()
/external/protobuf/
DMakefile.am823 php/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php \