Home
last modified time | relevance | path

Searched refs:FieldOptions (Results 1 – 25 of 121) sorted by relevance

12345

/external/golang-protobuf/internal/testprotos/nullable/
Dnullable.go25 …OptionalMessage descriptorpb.FieldOptions `protobuf:"bytes,110,req,name=optional_mess…
37 …RepeatedMessage []descriptorpb.FieldOptions `protobuf:"bytes,210,rep,name=repeated_me…
49 …MapMessage map[string]descriptorpb.FieldOptions `protobuf:"bytes,310,rep,name=map_mes…
106 OneofMessage descriptorpb.FieldOptions `protobuf:"bytes,410,opt,name=oneof_message,oneof"`
132 …OptionalMessage descriptorpb.FieldOptions `protobuf:"bytes,110,req,name=optional_mess…
144 …RepeatedMessage []descriptorpb.FieldOptions `protobuf:"bytes,210,rep,name=repeated_me…
156 …MapMessage map[string]descriptorpb.FieldOptions `protobuf:"bytes,310,rep,name=map_mes…
213 OneofMessage descriptorpb.FieldOptions `protobuf:"bytes,410,opt,name=oneof_message,proto3,oneof"`
/external/autotest/utils/frozen_chromite/third_party/infra_libs/ts_mon/protos/
Dany_pb2.py41 options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\010\002'))),
48 options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\010\001'))),
75 _ANY.fields_by_name['type_url']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(),…
77 _ANY.fields_by_name['value']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b…
/external/rust/crates/protobuf/src/
Drustproto.rs45 …rate_accessors_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, bool> = crate:…
47 …pub const generate_getter_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, boo…
49 …pub const tokio_bytes_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, bool> =…
51 …tes_for_string_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, bool> = crate:…
/external/gson/proto/src/main/java/com/google/gson/protobuf/
DProtoTypeAdapter.java32 import com.google.protobuf.DescriptorProtos.FieldOptions;
91 private final Set<Extension<FieldOptions, String>> serializedNameExtensions;
145 Extension<FieldOptions, String> serializedNameExtension) { in addSerializedNameExtension() argument
199 private final Set<Extension<FieldOptions, String>> serializedNameExtensions;
205 Set<Extension<FieldOptions, String>> serializedNameExtensions, in ProtoTypeAdapter() argument
331 private String getCustSerializedName(FieldOptions options, String defaultName) { in getCustSerializedName()
332 for (Extension<FieldOptions, String> extension : serializedNameExtensions) { in getCustSerializedName()
/external/pigweed/pw_protobuf/pw_protobuf_protos/
Dfield_options.proto25 message FieldOptions { message
33 extend google.protobuf.FieldOptions {
36 optional FieldOptions pwpb = 1155; field
/external/rust/crates/protobuf/2.27.1/src/
Drustproto.rs55 …pub const expose_fields_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, crate…
57 …rate_accessors_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, crate::types::…
59 …ytes_for_bytes_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, crate::types::…
61 …tes_for_string_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, crate::types::…
/external/cronet/third_party/protobuf/php/src/Google/Protobuf/Internal/
DFieldOptions.php16 class FieldOptions extends \Google\Protobuf\Internal\Message class
228 GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldOptions\CType::class);
326 GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldOptions\JSType::class);
DFieldOptions_JSType.php14 class_exists(FieldOptions\JSType::class);
/external/protobuf/php/src/Google/Protobuf/Internal/
DFieldOptions.php16 class FieldOptions extends \Google\Protobuf\Internal\Message class
228 GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldOptions\CType::class);
326 GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldOptions\JSType::class);
/external/cronet/third_party/protobuf/src/google/protobuf/
Ddescriptor.pb.h79 class FieldOptions; variable
142 …TOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE…
2264 const ::PROTOBUF_NAMESPACE_ID::FieldOptions& options() const; in Swap()
2265 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::FieldOptions* release_options(); in Swap()
2266 ::PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options(); in Swap()
2267 void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options); in Swap()
2269 const ::PROTOBUF_NAMESPACE_ID::FieldOptions& _internal_options() const; in Swap()
2270 ::PROTOBUF_NAMESPACE_ID::FieldOptions* _internal_mutable_options(); in Swap()
2273 ::PROTOBUF_NAMESPACE_ID::FieldOptions* options); in Swap()
2274 ::PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options(); in Swap()
[all …]
Ddynamic_message.cc161 case FieldOptions::STRING: in FieldSpaceUsed()
191 case FieldOptions::STRING: in FieldSpaceUsed()
417 case FieldOptions::STRING: in SharedCtor()
520 case FieldOptions::STRING: { in ~DynamicMessage()
554 case FieldOptions::STRING: in ~DynamicMessage()
574 case FieldOptions::STRING: { in ~DynamicMessage()
Ddescriptor.pb.cc279 PROTOBUF_CONSTEXPR FieldOptions::FieldOptions( in FieldOptions() function in FieldOptions
296 FieldOptions _instance;
724 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _has_bits_),
725 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _internal_metadata_),
726 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _extensions_),
730 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, ctype_),
731 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, packed_),
732 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, jstype_),
733 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, lazy_),
734 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, unverified_lazy_),
[all …]
/external/golang-protobuf/types/descriptorpb/
Ddescriptor.pb.go1093 Options *FieldOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
1213 func (x *FieldDescriptorProto) GetOptions() *FieldOptions {
2041 type FieldOptions struct { struct
2132 func (x *FieldOptions) Reset() { argument
2133 *x = FieldOptions{}
2141 func (x *FieldOptions) String() string { argument
2145 func (*FieldOptions) ProtoMessage() {} argument
2147 func (x *FieldOptions) ProtoReflect() protoreflect.Message { argument
2160 func (*FieldOptions) Descriptor() ([]byte, []int) { argument
2164 func (x *FieldOptions) GetCtype() FieldOptions_CType { argument
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor.pb.h79 class FieldOptions; variable
142 …TOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE…
2296 const ::PROTOBUF_NAMESPACE_ID::FieldOptions& options() const; in Swap()
2297 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::FieldOptions* release_options(); in Swap()
2298 ::PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options(); in Swap()
2299 void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options); in Swap()
2301 const ::PROTOBUF_NAMESPACE_ID::FieldOptions& _internal_options() const; in Swap()
2302 ::PROTOBUF_NAMESPACE_ID::FieldOptions* _internal_mutable_options(); in Swap()
2305 ::PROTOBUF_NAMESPACE_ID::FieldOptions* options); in Swap()
2306 ::PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options(); in Swap()
[all …]
Ddynamic_message.cc161 case FieldOptions::STRING: in FieldSpaceUsed()
191 case FieldOptions::STRING: in FieldSpaceUsed()
417 case FieldOptions::STRING: in SharedCtor()
520 case FieldOptions::STRING: { in ~DynamicMessage()
554 case FieldOptions::STRING: in ~DynamicMessage()
574 case FieldOptions::STRING: { in ~DynamicMessage()
/external/rust/crates/protobuf-codegen/src/customize/
Drustproto_proto.rs2 use protobuf::descriptor::FieldOptions;
34 pub(crate) fn customize_from_rustproto_for_field(source: &FieldOptions) -> Customize { in customize_from_rustproto_for_field()
/external/pigweed/pw_protobuf/py/pw_protobuf/
Doptions.py24 from pw_protobuf_protos.field_options_pb2 import FieldOptions
84 field_options: FieldOptions, argument
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.cc83 descriptor->options().ctype() == google::protobuf::FieldOptions::STRING in GenerateTemplateForOneofString()
93 if (descriptor->options().ctype() == google::protobuf::FieldOptions::STRING_PIECE) { in GenerateTemplateForOneofString()
100 descriptor->options().ctype() == google::protobuf::FieldOptions::STRING in GenerateTemplateForOneofString()
115 if (descriptor->options().ctype() == google::protobuf::FieldOptions::STRING) { in GenerateTemplateForSingleString()
Dcpp_parse_function_generator.cc65 bool HasInternalAccessors(const FieldOptions::CType ctype) { in HasInternalAccessors()
66 return ctype == FieldOptions::STRING || ctype == FieldOptions::CORD; in HasInternalAccessors()
110 if (field->options().ctype() != FieldOptions::STRING) { in IsFieldEligibleForFastParsing()
1146 FieldOptions::CType ctype = FieldOptions::STRING; in GenerateStrings()
1155 !field->real_containing_oneof() && ctype == FieldOptions::STRING) { in GenerateStrings()
1160 case FieldOptions::STRING: in GenerateStrings()
1163 case FieldOptions::CORD: in GenerateStrings()
1166 case FieldOptions::STRING_PIECE: in GenerateStrings()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dfield.cc83 descriptor->options().ctype() == google::protobuf::FieldOptions::STRING in GenerateTemplateForOneofString()
93 if (descriptor->options().ctype() == google::protobuf::FieldOptions::STRING_PIECE) { in GenerateTemplateForOneofString()
100 descriptor->options().ctype() == google::protobuf::FieldOptions::STRING in GenerateTemplateForOneofString()
115 if (descriptor->options().ctype() == google::protobuf::FieldOptions::STRING) { in GenerateTemplateForSingleString()
Dparse_function_generator.cc65 bool HasInternalAccessors(const FieldOptions::CType ctype) { in HasInternalAccessors()
66 return ctype == FieldOptions::STRING || ctype == FieldOptions::CORD; in HasInternalAccessors()
110 if (field->options().ctype() != FieldOptions::STRING) { in IsFieldEligibleForFastParsing()
1152 FieldOptions::CType ctype = FieldOptions::STRING; in GenerateStrings()
1161 !field->real_containing_oneof() && ctype == FieldOptions::STRING) { in GenerateStrings()
1166 case FieldOptions::STRING: in GenerateStrings()
1169 case FieldOptions::CORD: in GenerateStrings()
1172 case FieldOptions::STRING_PIECE: in GenerateStrings()
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs344 public FieldOptions GetOptions() => Proto.Options?.Clone(); in GetOptions()
350 public T GetOption<T>(Extension<FieldOptions, T> extension) in GetOption() argument
360 public RepeatedField<T> GetOption<T>(RepeatedExtension<FieldOptions, T> extension) in GetOption() argument
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs344 public FieldOptions GetOptions() => Proto.Options?.Clone(); in GetOptions()
350 public T GetOption<T>(Extension<FieldOptions, T> extension) in GetOption() argument
360 public RepeatedField<T> GetOption<T>(RepeatedExtension<FieldOptions, T> extension) in GetOption() argument
/external/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestSelfreferentialOptions.cs55 …public static readonly pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, int> BarOpti…
56 …new pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, int>(1000, pb::FieldCodec.ForIn…
57 …public static readonly pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, global::Unit…
58 …new pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, global::UnitTest.Issues.TestPro…
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestSelfreferentialOptions.cs55 …public static readonly pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, int> BarOpti…
56 …new pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, int>(1000, pb::FieldCodec.ForIn…
57 …public static readonly pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, global::Unit…
58 …new pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, global::UnitTest.Issues.TestPro…

12345