Home
last modified time | relevance | path

Searched refs:FieldOptions (Results 1 - 25 of 33) sorted by relevance

12

/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DFieldOptions.php14 * Generated from protobuf message <code>google.protobuf.FieldOptions</code>
16 class FieldOptions extends \Google\Protobuf\Internal\Message class
24 * Generated from protobuf field <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code>
49 * Generated from protobuf field <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code>
178 * Generated from protobuf field <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code>
202 * Generated from protobuf field <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code>
208 GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldOptions\CType::class);
270 * Generated from protobuf field <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code>
300 * Generated from protobuf field <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code>
306 GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldOptions\JSTyp
[all...]
H A DFieldOptions_JSType.php9 * This class is deprecated. Use Google\Protobuf\Internal\FieldOptions\JSType instead.
14 class_exists(FieldOptions\JSType::class);
15 @trigger_error('Google\Protobuf\Internal\FieldOptions_JSType is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FieldOptions\JSType instead', E_USER_DEPRECATED);
H A DFieldOptions_CType.php9 * This class is deprecated. Use Google\Protobuf\Internal\FieldOptions\CType instead.
14 class_exists(FieldOptions\CType::class);
15 @trigger_error('Google\Protobuf\Internal\FieldOptions_CType is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FieldOptions\CType instead', E_USER_DEPRECATED);
H A DFieldDescriptorProto.php83 * Generated from protobuf field <code>optional .google.protobuf.FieldOptions options = 8;</code>
145 * @type \Google\Protobuf\Internal\FieldOptions $options
513 * Generated from protobuf field <code>optional .google.protobuf.FieldOptions options = 8;</code>
514 * @return \Google\Protobuf\Internal\FieldOptions
532 * Generated from protobuf field <code>optional .google.protobuf.FieldOptions options = 8;</code>
533 * @param \Google\Protobuf\Internal\FieldOptions $var
538 GPBUtil::checkMessage($var, \Google\Protobuf\Internal\FieldOptions::class);
/third_party/protobuf/src/google/protobuf/
H A Ddynamic_message.cc159 case FieldOptions::STRING: in FieldSpaceUsed()
189 case FieldOptions::STRING: in FieldSpaceUsed()
228 case FieldOptions::STRING: in OneofFieldSpaceUsed()
426 case FieldOptions::STRING: in SharedCtor()
517 case FieldOptions::STRING: { in ~DynamicMessage()
557 case FieldOptions::STRING: in ~DynamicMessage()
577 case FieldOptions::STRING: { in ~DynamicMessage()
880 case FieldOptions::STRING: in ConstructDefaultOneofInstance()
906 case FieldOptions::STRING: in DeleteDefaultOneofInstance()
H A Ddescriptor.pb.h89 class FieldOptions;
152 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FieldOptions>(Arena*);
2055 // optional .google.protobuf.FieldOptions options = 8;
2061 const PROTOBUF_NAMESPACE_ID::FieldOptions& options() const;
2062 PROTOBUF_NAMESPACE_ID::FieldOptions* release_options();
2063 PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options();
2064 void set_allocated_options(PROTOBUF_NAMESPACE_ID::FieldOptions* options);
2066 const PROTOBUF_NAMESPACE_ID::FieldOptions& _internal_options() const;
2067 PROTOBUF_NAMESPACE_ID::FieldOptions* _internal_mutable_option
4162 inline FieldOptions() : FieldOptions(nullptr) {} FieldOptions() function in PROTOBUF_FINAL
4167 : FieldOptions() { FieldOptions() function in PROTOBUF_FINAL
[all...]
H A Ddescriptor.pb.cc105 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FieldOptions> _instance;
312 new (ptr) PROTOBUF_NAMESPACE_ID::FieldOptions(); in InitDefaultsscc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto()
315 PROTOBUF_NAMESPACE_ID::FieldOptions::InitAsDefaultInstance(); in InitDefaultsscc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto()
817 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _has_bits_),
818 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _internal_metadata_),
819 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _extensions_),
822 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, ctype_),
823 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, packed_),
824 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, jstype_),
825 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, lazy
7577 FieldOptions::FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena) FieldOptions() function in FieldOptions
7585 FieldOptions::FieldOptions(const FieldOptions& from) FieldOptions() function in FieldOptions
[all...]
H A Dgenerated_message_reflection.cc274 case FieldOptions::STRING: in SpaceUsedLong()
315 case FieldOptions::STRING: { in SpaceUsedLong()
385 case FieldOptions::STRING: in SwapField()
450 case FieldOptions::STRING: { in SwapField()
837 case FieldOptions::STRING: { in ClearField()
890 case FieldOptions::STRING: in ClearField()
940 case FieldOptions::STRING: in RemoveLast()
1195 case FieldOptions::STRING: { in GetString()
1216 case FieldOptions::STRING: { in GetStringReference()
1237 case FieldOptions in SetString()
[all...]
H A Ddescriptor.h105 class FieldOptions;
786 // Get the FieldOptions for this field. This includes things listed in
789 // has the "ctype" option set. Allowed options are defined by FieldOptions in
791 const FieldOptions& options() const;
837 typedef FieldOptions OptionsType;
891 const FieldOptions* options_;
2037 PROTOBUF_DEFINE_OPTIONS_ACCESSOR(FieldDescriptor, FieldOptions)
H A Dmessage.cc311 case FieldOptions::STRING: in RepeatedFieldAccessor()
H A Ddescriptor_unittest.cc2041 // extend google.protobuf.FieldOptions { in TEST_F()
2047 AddExtension(&file_proto, "google.protobuf.FieldOptions", "option1", 1000, in TEST_F()
2053 // extend google.protobuf.FieldOptions { in TEST_F()
2059 AddExtension(&file_proto, "google.protobuf.FieldOptions", "option2", 1000, in TEST_F()
2629 TEST_F(MiscTest, FieldOptions) { in TEST_F()
2642 FieldOptions* options = bar_proto->mutable_options(); in TEST_F()
2643 options->set_ctype(FieldOptions::CORD); in TEST_F()
2658 EXPECT_EQ(&FieldOptions::default_instance(), &foo->options()); in TEST_F()
2661 EXPECT_NE(&FieldOptions::default_instance(), options); in TEST_F()
2663 EXPECT_EQ(FieldOptions in TEST_F()
[all...]
/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_helpers.cc207 bool HasInternalAccessors(const FieldOptions::CType ctype) { in HasInternalAccessors()
208 return ctype == FieldOptions::STRING || ctype == FieldOptions::CORD; in HasInternalAccessors()
867 EffectiveStringCType(field, options) == FieldOptions::STRING_PIECE; in IsStringPieceField()
890 EffectiveStringCType(field, options) == FieldOptions::CORD; in IsCordField()
985 FieldOptions::CType EffectiveStringCType(const FieldDescriptor* field, in EffectiveStringCType()
990 return FieldOptions::STRING; in EffectiveStringCType()
1186 if (field->options().ctype() == FieldOptions::CORD) { in GetSCCAnalysis()
1467 FieldOptions::CType ctype = FieldOptions in GenerateStrings()
[all...]
H A Dcpp_message.cc1651 EffectiveStringCType(field, options_) != FieldOptions::STRING)) { in GenerateExtraDefaultFields()
2227 case FieldOptions::STRING: in GenerateParseOffsets()
2233 case FieldOptions::CORD: in GenerateParseOffsets()
2236 case FieldOptions::STRING_PIECE: in GenerateParseOffsets()
2242 case FieldOptions::STRING: in GenerateParseOffsets()
2248 case FieldOptions::CORD: in GenerateParseOffsets()
2251 case FieldOptions::STRING_PIECE: in GenerateParseOffsets()
2355 case FieldOptions::STRING: in GenerateParseAuxTable()
2363 case FieldOptions::CORD: in GenerateParseAuxTable()
2364 case FieldOptions in GenerateParseAuxTable()
[all...]
H A Dcpp_helpers.h325 FieldOptions::CType EffectiveStringCType(const FieldDescriptor* field,
330 EffectiveStringCType(field, options) == FieldOptions::CORD; in IsCord()
336 EffectiveStringCType(field, options) == FieldOptions::STRING_PIECE; in IsStringPiece()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DFieldDescriptor.cs326 /// The <c>FieldOptions</c>, defined in <c>descriptor.proto</c>.
331 public FieldOptions GetOptions() => Proto.Options?.Clone(); in GetOptions()
337 public T GetOption<T>(Extension<FieldOptions, T> extension) in GetOption()
347 public RepeatedField<T> GetOption<T>(RepeatedExtension<FieldOptions, T> extension) in GetOption()
H A DDescriptor.cs178 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FieldOptions), global::Google.Protobuf.Reflection.FieldOptions.Parser, new[]{ "Ctype", "Packed", "Jstype", "Lazy", "Deprecated", "Weak", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.CType), typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.JSType) }, null, null), in DescriptorReflection()
2423 private global::Google.Protobuf.Reflection.FieldOptions options_;
2425 public global::Google.Protobuf.Reflection.FieldOptions Options {
2715 Options = new global::Google.Protobuf.Reflection.FieldOptions(); in MergeFrom()
2766 Options = new global::Google.Protobuf.Reflection.FieldOptions(); in MergeFrom()
2827 Options = new global::Google.Protobuf.Reflection.FieldOptions(); in IBufferMessage.InternalMergeFrom()
6465 public sealed partial class FieldOptions class
6489 public FieldOptions() { FieldOptions() method in Google.Protobuf.Reflection.FieldOptions
6496 public FieldOptions(FieldOptions other) : this() { FieldOptions() method in Google.Protobuf.Reflection.FieldOptions
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
H A DUnittestSelfreferentialOptions.cs55 public static readonly pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, int> BarOptions =
56 new pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, int>(1000, pb::FieldCodec.ForInt32(8000, 0));
57 public static readonly pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, global::UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions> FooOptions =
58 new pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, global::UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions>(1001, pb::FieldCodec.ForMessage(8010, global::UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions.Parser));
/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldOptions/
H A DJSType.php5 namespace Google\Protobuf\Internal\FieldOptions;
10 * Protobuf type <code>google.protobuf.FieldOptions.JSType</code>
H A DCType.php5 namespace Google\Protobuf\Internal\FieldOptions;
10 * Protobuf type <code>google.protobuf.FieldOptions.CType</code>
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DDescriptorsTest.java216 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), in testFieldDescriptor()
235 assertEquals(DescriptorProtos.FieldOptions.CType.CORD, in testFieldDescriptor()
247 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), in testFieldDescriptor()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DDescriptorsTest.java206 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), primitiveField.getOptions()); in testFieldDescriptor()
223 assertEquals(DescriptorProtos.FieldOptions.CType.CORD, cordField.getOptions().getCtype()); in testFieldDescriptor()
232 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), extension.getOptions()); in testFieldDescriptor()
771 DescriptorProtos.FieldOptions.newBuilder().setPacked(true).build()) in testPackedEnumField()
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/
H A Ddescriptor.js4 exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions = exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.methodOptions_IdempotencyLevelToJSON = exports.methodOptions_IdempotencyLevelFromJSON = exports.MethodOptions_IdempotencyLevel = exports.fieldOptions_JSTypeToJSON = exports.fieldOptions_JSTypeFromJSON = exports.FieldOptions_JSType = exports.fieldOptions_CTypeToJSON = exports.fieldOptions_CTypeFromJSON = exports.FieldOptions_CType = exports.fileOptions_OptimizeModeToJSON = exports.fileOptions_OptimizeModeFromJSON = exports.FileOptions_OptimizeMode = exports.fieldDescriptorProto_LabelToJSON = exports.fieldDescriptorProto_LabelFromJSON = exports.FieldDescriptorProto_Label = exports.fieldDescriptorProto_TypeToJSON = exports.fieldDescriptorProto_TypeFromJSON = exports.FieldDescriptorProto_Type = void 0;
631 options: isSet(object.options) ? exports.FieldOptions.fromJSON(object.options) : undefined,
646 message.options !== undefined && (obj.options = message.options ? exports.FieldOptions.toJSON(message.options) : undefined);
940 exports.FieldOptions = {
/third_party/protobuf/src/google/protobuf/util/
H A Dtype_resolver_util.cc128 void ConvertFieldOptions(const FieldOptions& options, in ConvertFieldOptions()
/third_party/protobuf/php/src/GPBMetadata/Google/Protobuf/Internal/
H A DDescriptor.php74 ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.FieldOptions')
182 $pool->addMessage('google.protobuf.internal.FieldOptions', \Google\Protobuf\Internal\FieldOptions::class)
183 ->optional('ctype', \Google\Protobuf\Internal\GPBType::ENUM, 1, 'google.protobuf.internal.FieldOptions.CType')
185 ->optional('jstype', \Google\Protobuf\Internal\GPBType::ENUM, 6, 'google.protobuf.internal.FieldOptions.JSType')
192 $pool->addEnum('google.protobuf.internal.FieldOptions.CType', \Google\Protobuf\Internal\CType::class)
198 $pool->addEnum('google.protobuf.internal.FieldOptions.JSType', \Google\Protobuf\Internal\JSType::class)
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
H A Ddescriptor_test.py132 descriptor_pb2.FieldOptions())

Completed in 67 milliseconds

12