Class DescriptorProtos.FieldOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.FieldOptions.Builder>
com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.FieldOptions.Builder>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<DescriptorProtos.FieldOptions, DescriptorProtos.FieldOptions.Builder>
com.google.protobuf.DescriptorProtos.FieldOptions.Builder
- All Implemented Interfaces:
DescriptorProtos.FieldOptionsOrBuilder, GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.FieldOptions>, Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable
- Enclosing class:
DescriptorProtos.FieldOptions
public static final class DescriptorProtos.FieldOptions.Builder
extends GeneratedMessage.ExtendableBuilder<DescriptorProtos.FieldOptions, DescriptorProtos.FieldOptions.Builder>
implements DescriptorProtos.FieldOptionsOrBuilder
Protobuf type
google.protobuf.FieldOptions-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate booleanprivate booleanprivate RepeatedFieldBuilder<DescriptorProtos.FieldOptions.EditionDefault, DescriptorProtos.FieldOptions.EditionDefault.Builder, DescriptorProtos.FieldOptions.EditionDefaultOrBuilder> private DescriptorProtos.FeatureSetprivate SingleFieldBuilder<DescriptorProtos.FeatureSet, DescriptorProtos.FeatureSet.Builder, DescriptorProtos.FeatureSetOrBuilder> private SingleFieldBuilder<DescriptorProtos.FieldOptions.FeatureSupport, DescriptorProtos.FieldOptions.FeatureSupport.Builder, DescriptorProtos.FieldOptions.FeatureSupportOrBuilder> private intprivate booleanprivate booleanprivate intprivate Internal.IntListprivate List<DescriptorProtos.UninterpretedOption> private RepeatedFieldBuilder<DescriptorProtos.UninterpretedOption, DescriptorProtos.UninterpretedOption.Builder, DescriptorProtos.UninterpretedOptionOrBuilder> private booleanprivate boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBuilder()privateBuilder(AbstractMessage.BuilderParent parent) -
Method Summary
Modifier and TypeMethodDescriptionaddAllEditionDefaults(Iterable<? extends DescriptorProtos.FieldOptions.EditionDefault> values) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;addAllTargets(Iterable<? extends DescriptorProtos.FieldOptions.OptionTargetType> values) repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;addAllUninterpretedOption(Iterable<? extends DescriptorProtos.UninterpretedOption> values) The parser stores options it doesn't recognize here.addEditionDefaults(int index, DescriptorProtos.FieldOptions.EditionDefault value) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;addEditionDefaults(int index, DescriptorProtos.FieldOptions.EditionDefault.Builder builderForValue) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;addEditionDefaults(DescriptorProtos.FieldOptions.EditionDefault.Builder builderForValue) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;addEditionDefaultsBuilder(int index) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;addExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions, List<Type>> extension, Type value) repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value) The parser stores options it doesn't recognize here.addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue) The parser stores options it doesn't recognize here.The parser stores options it doesn't recognize here.addUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue) The parser stores options it doesn't recognize here.The parser stores options it doesn't recognize here.addUninterpretedOptionBuilder(int index) The parser stores options it doesn't recognize here.build()Constructs the message based on the state of the Builder.LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.private voidprivate voidclear()Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.NOTE: ctype is deprecated.Indicate that the field value should not be printed out when using debug formats, e.g.Is this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;clearExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions, Type> extension) Any features defined in the specific edition.optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;The jstype option determines the JavaScript type used for values of the field.Should this field be parsed lazily? Lazy applies only to message-type fields.The packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire.optional .google.protobuf.FieldOptions.OptionRetention retention = 17;repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;The parser stores options it doesn't recognize here.unverified_lazy does no correctness checks on the byte stream.Deprecated.google.protobuf.FieldOptions.weak is deprecated.private voidprivate voidprivate voidgetCtype()NOTE: ctype is deprecated.booleanIndicate that the field value should not be printed out when using debug formats, e.g.Get an instance of the type with no fields set.booleanIs this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.static final Descriptors.DescriptorGet the message's type's descriptor.getEditionDefaults(int index) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;getEditionDefaultsBuilder(int index) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;intrepeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;getEditionDefaultsOrBuilder(int index) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;Any features defined in the specific edition.Any features defined in the specific edition.Any features defined in the specific edition.optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;The jstype option determines the JavaScript type used for values of the field.booleangetLazy()Should this field be parsed lazily? Lazy applies only to message-type fields.booleanThe packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire.optional .google.protobuf.FieldOptions.OptionRetention retention = 17;getTargets(int index) repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;intrepeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;getUninterpretedOption(int index) The parser stores options it doesn't recognize here.getUninterpretedOptionBuilder(int index) The parser stores options it doesn't recognize here.The parser stores options it doesn't recognize here.intThe parser stores options it doesn't recognize here.The parser stores options it doesn't recognize here.getUninterpretedOptionOrBuilder(int index) The parser stores options it doesn't recognize here.The parser stores options it doesn't recognize here.booleanunverified_lazy does no correctness checks on the byte stream.booleangetWeak()Deprecated.google.protobuf.FieldOptions.weak is deprecated.booleanhasCtype()NOTE: ctype is deprecated.booleanIndicate that the field value should not be printed out when using debug formats, e.g.booleanIs this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.booleanAny features defined in the specific edition.booleanoptional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;booleanThe jstype option determines the JavaScript type used for values of the field.booleanhasLazy()Should this field be parsed lazily? Lazy applies only to message-type fields.booleanThe packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire.booleanoptional .google.protobuf.FieldOptions.OptionRetention retention = 17;booleanunverified_lazy does no correctness checks on the byte stream.booleanhasWeak()Deprecated.google.protobuf.FieldOptions.weak is deprecated.private RepeatedFieldBuilder<DescriptorProtos.FieldOptions.EditionDefault, DescriptorProtos.FieldOptions.EditionDefault.Builder, DescriptorProtos.FieldOptions.EditionDefaultOrBuilder> private SingleFieldBuilder<DescriptorProtos.FeatureSet, DescriptorProtos.FeatureSet.Builder, DescriptorProtos.FeatureSetOrBuilder> Any features defined in the specific edition.private SingleFieldBuilder<DescriptorProtos.FieldOptions.FeatureSupport, DescriptorProtos.FieldOptions.FeatureSupport.Builder, DescriptorProtos.FieldOptions.FeatureSupportOrBuilder> optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;protected GeneratedMessage.FieldAccessorTableGet the FieldAccessorTable for this type.private RepeatedFieldBuilder<DescriptorProtos.UninterpretedOption, DescriptorProtos.UninterpretedOption.Builder, DescriptorProtos.UninterpretedOptionOrBuilder> final booleanReturns true if all required fields in the message and all embedded messages are set, false otherwise.private voidAny features defined in the specific edition.optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.Mergeotherinto the message being built.removeEditionDefaults(int index) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;removeUninterpretedOption(int index) The parser stores options it doesn't recognize here.NOTE: ctype is deprecated.setDebugRedact(boolean value) Indicate that the field value should not be printed out when using debug formats, e.g.setDeprecated(boolean value) Is this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.setEditionDefaults(int index, DescriptorProtos.FieldOptions.EditionDefault value) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;setEditionDefaults(int index, DescriptorProtos.FieldOptions.EditionDefault.Builder builderForValue) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions, List<Type>> extension, int index, Type value) setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions, Type> extension, Type value) Any features defined in the specific edition.setFeatures(DescriptorProtos.FeatureSet.Builder builderForValue) Any features defined in the specific edition.optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;setFeatureSupport(DescriptorProtos.FieldOptions.FeatureSupport.Builder builderForValue) optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;The jstype option determines the JavaScript type used for values of the field.setLazy(boolean value) Should this field be parsed lazily? Lazy applies only to message-type fields.setPacked(boolean value) The packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire.optional .google.protobuf.FieldOptions.OptionRetention retention = 17;setTargets(int index, DescriptorProtos.FieldOptions.OptionTargetType value) repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value) The parser stores options it doesn't recognize here.setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue) The parser stores options it doesn't recognize here.setUnverifiedLazy(boolean value) unverified_lazy does no correctness checks on the byte stream.setWeak(boolean value) Deprecated.google.protobuf.FieldOptions.weak is deprecated.Methods inherited from class GeneratedMessage.ExtendableBuilder
addExtension, addExtension, addRepeatedField, clearExtension, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, internalSetExtensionSet, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension, setExtension, setExtension, setField, setRepeatedFieldMethods inherited from class GeneratedMessage.Builder
clearOneof, clone, dispose, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
ctype_
private int ctype_ -
packed_
private boolean packed_ -
jstype_
private int jstype_ -
lazy_
private boolean lazy_ -
unverifiedLazy_
private boolean unverifiedLazy_ -
deprecated_
private boolean deprecated_ -
weak_
private boolean weak_ -
debugRedact_
private boolean debugRedact_ -
retention_
private int retention_ -
targets_
-
editionDefaults_
-
editionDefaultsBuilder_
-
features_
-
featuresBuilder_
private SingleFieldBuilder<DescriptorProtos.FeatureSet, DescriptorProtos.FeatureSet.Builder, DescriptorProtos.FeatureSetOrBuilder> featuresBuilder_ -
featureSupport_
-
featureSupportBuilder_
-
uninterpretedOption_
-
uninterpretedOptionBuilder_
private RepeatedFieldBuilder<DescriptorProtos.UninterpretedOption, DescriptorProtos.UninterpretedOption.Builder, DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
-
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
Description copied from class:GeneratedMessage.BuilderGet the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<DescriptorProtos.FieldOptions.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
Description copied from class:GeneratedMessage.BuilderCalled by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.ExtendableBuilder<DescriptorProtos.FieldOptions, DescriptorProtos.FieldOptions.Builder>
-
getDescriptorForType
Description copied from interface:Message.BuilderGet the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType().- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<DescriptorProtos.FieldOptions.Builder>
-
getDefaultInstanceForType
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceGeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.FieldOptions>- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
Description copied from interface:MessageLite.BuilderConstructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
setExtension
public <Type> DescriptorProtos.FieldOptions.Builder setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions, Type> extension, Type value) -
setExtension
public <Type> DescriptorProtos.FieldOptions.Builder setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions, List<Type>> extension, int index, Type value) -
addExtension
public <Type> DescriptorProtos.FieldOptions.Builder addExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions, List<Type>> extension, Type value) -
clearExtension
public <Type> DescriptorProtos.FieldOptions.Builder clearExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions, Type> extension) -
mergeFrom
Description copied from interface:Message.BuilderMergeotherinto the message being built.othermust have the exact same type asthis(i.e.getDescriptorForType() == other.getDescriptorForType()).Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother, thenother's value overwrites the value in this message.
* For singular message fields, if the field is set inother, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inotherare concatenated with the elements in this message.
* For oneof groups, if the other message has one of the fields set, the group of this message is cleared and replaced by the field of the other message, so that the oneof constraint is preserved.This is equivalent to the
Message::MergeFrommethod in C++.- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DescriptorProtos.FieldOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.ExtendableBuilder<DescriptorProtos.FieldOptions, DescriptorProtos.FieldOptions.Builder>
-
mergeFrom
public DescriptorProtos.FieldOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DescriptorProtos.FieldOptions.Builder>- Throws:
IOException- an I/O error reading from the stream
-
hasCtype
public boolean hasCtype()NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead. The ctype option instructs the C++ code generator to use a different representation of the field than it normally would. See the specific options below. This option is only implemented to support use of [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of type "bytes" in the open source release. TODO: make ctype actually deprecated.
optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];- Specified by:
hasCtypein interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- Whether the ctype field is set.
-
getCtype
NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead. The ctype option instructs the C++ code generator to use a different representation of the field than it normally would. See the specific options below. This option is only implemented to support use of [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of type "bytes" in the open source release. TODO: make ctype actually deprecated.
optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];- Specified by:
getCtypein interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The ctype.
-
setCtype
NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead. The ctype option instructs the C++ code generator to use a different representation of the field than it normally would. See the specific options below. This option is only implemented to support use of [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of type "bytes" in the open source release. TODO: make ctype actually deprecated.
optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];- Parameters:
value- The ctype to set.- Returns:
- This builder for chaining.
-
clearCtype
NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead. The ctype option instructs the C++ code generator to use a different representation of the field than it normally would. See the specific options below. This option is only implemented to support use of [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of type "bytes" in the open source release. TODO: make ctype actually deprecated.
optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];- Returns:
- This builder for chaining.
-
hasPacked
public boolean hasPacked()The packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire. Rather than repeatedly writing the tag and type for each element, the entire array is encoded as a single length-delimited blob. In proto3, only explicit setting it to false will avoid using packed encoding. This option is prohibited in Editions, but the `repeated_field_encoding` feature can be used to control the behavior.
optional bool packed = 2;- Specified by:
hasPackedin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- Whether the packed field is set.
-
getPacked
public boolean getPacked()The packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire. Rather than repeatedly writing the tag and type for each element, the entire array is encoded as a single length-delimited blob. In proto3, only explicit setting it to false will avoid using packed encoding. This option is prohibited in Editions, but the `repeated_field_encoding` feature can be used to control the behavior.
optional bool packed = 2;- Specified by:
getPackedin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The packed.
-
setPacked
The packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire. Rather than repeatedly writing the tag and type for each element, the entire array is encoded as a single length-delimited blob. In proto3, only explicit setting it to false will avoid using packed encoding. This option is prohibited in Editions, but the `repeated_field_encoding` feature can be used to control the behavior.
optional bool packed = 2;- Parameters:
value- The packed to set.- Returns:
- This builder for chaining.
-
clearPacked
The packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire. Rather than repeatedly writing the tag and type for each element, the entire array is encoded as a single length-delimited blob. In proto3, only explicit setting it to false will avoid using packed encoding. This option is prohibited in Editions, but the `repeated_field_encoding` feature can be used to control the behavior.
optional bool packed = 2;- Returns:
- This builder for chaining.
-
hasJstype
public boolean hasJstype()The jstype option determines the JavaScript type used for values of the field. The option is permitted only for 64 bit integral and fixed types (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING is represented as JavaScript string, which avoids loss of precision that can happen when a large value is converted to a floating point JavaScript. Specifying JS_NUMBER for the jstype causes the generated JavaScript code to use the JavaScript "number" type. The behavior of the default option JS_NORMAL is implementation dependent. This option is an enum to permit additional types to be added, e.g. goog.math.Integer.
optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];- Specified by:
hasJstypein interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- Whether the jstype field is set.
-
getJstype
The jstype option determines the JavaScript type used for values of the field. The option is permitted only for 64 bit integral and fixed types (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING is represented as JavaScript string, which avoids loss of precision that can happen when a large value is converted to a floating point JavaScript. Specifying JS_NUMBER for the jstype causes the generated JavaScript code to use the JavaScript "number" type. The behavior of the default option JS_NORMAL is implementation dependent. This option is an enum to permit additional types to be added, e.g. goog.math.Integer.
optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];- Specified by:
getJstypein interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The jstype.
-
setJstype
The jstype option determines the JavaScript type used for values of the field. The option is permitted only for 64 bit integral and fixed types (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING is represented as JavaScript string, which avoids loss of precision that can happen when a large value is converted to a floating point JavaScript. Specifying JS_NUMBER for the jstype causes the generated JavaScript code to use the JavaScript "number" type. The behavior of the default option JS_NORMAL is implementation dependent. This option is an enum to permit additional types to be added, e.g. goog.math.Integer.
optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];- Parameters:
value- The jstype to set.- Returns:
- This builder for chaining.
-
clearJstype
The jstype option determines the JavaScript type used for values of the field. The option is permitted only for 64 bit integral and fixed types (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING is represented as JavaScript string, which avoids loss of precision that can happen when a large value is converted to a floating point JavaScript. Specifying JS_NUMBER for the jstype causes the generated JavaScript code to use the JavaScript "number" type. The behavior of the default option JS_NORMAL is implementation dependent. This option is an enum to permit additional types to be added, e.g. goog.math.Integer.
optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];- Returns:
- This builder for chaining.
-
hasLazy
public boolean hasLazy()Should this field be parsed lazily? Lazy applies only to message-type fields. It means that when the outer message is initially parsed, the inner message's contents will not be parsed but instead stored in encoded form. The inner message will actually be parsed when it is first accessed. This is only a hint. Implementations are free to choose whether to use eager or lazy parsing regardless of the value of this option. However, setting this option true suggests that the protocol author believes that using lazy parsing on this field is worth the additional bookkeeping overhead typically needed to implement it. This option does not affect the public interface of any generated code; all method signatures remain the same. Furthermore, thread-safety of the interface is not affected by this option; const methods remain safe to call from multiple threads concurrently, while non-const methods continue to require exclusive access. Note that lazy message fields are still eagerly verified to check ill-formed wireformat or missing required fields. Calling IsInitialized() on the outer message would fail if the inner message has missing required fields. Failed verification would result in parsing failure (except when uninitialized messages are acceptable).
optional bool lazy = 5 [default = false];- Specified by:
hasLazyin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- Whether the lazy field is set.
-
getLazy
public boolean getLazy()Should this field be parsed lazily? Lazy applies only to message-type fields. It means that when the outer message is initially parsed, the inner message's contents will not be parsed but instead stored in encoded form. The inner message will actually be parsed when it is first accessed. This is only a hint. Implementations are free to choose whether to use eager or lazy parsing regardless of the value of this option. However, setting this option true suggests that the protocol author believes that using lazy parsing on this field is worth the additional bookkeeping overhead typically needed to implement it. This option does not affect the public interface of any generated code; all method signatures remain the same. Furthermore, thread-safety of the interface is not affected by this option; const methods remain safe to call from multiple threads concurrently, while non-const methods continue to require exclusive access. Note that lazy message fields are still eagerly verified to check ill-formed wireformat or missing required fields. Calling IsInitialized() on the outer message would fail if the inner message has missing required fields. Failed verification would result in parsing failure (except when uninitialized messages are acceptable).
optional bool lazy = 5 [default = false];- Specified by:
getLazyin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The lazy.
-
setLazy
Should this field be parsed lazily? Lazy applies only to message-type fields. It means that when the outer message is initially parsed, the inner message's contents will not be parsed but instead stored in encoded form. The inner message will actually be parsed when it is first accessed. This is only a hint. Implementations are free to choose whether to use eager or lazy parsing regardless of the value of this option. However, setting this option true suggests that the protocol author believes that using lazy parsing on this field is worth the additional bookkeeping overhead typically needed to implement it. This option does not affect the public interface of any generated code; all method signatures remain the same. Furthermore, thread-safety of the interface is not affected by this option; const methods remain safe to call from multiple threads concurrently, while non-const methods continue to require exclusive access. Note that lazy message fields are still eagerly verified to check ill-formed wireformat or missing required fields. Calling IsInitialized() on the outer message would fail if the inner message has missing required fields. Failed verification would result in parsing failure (except when uninitialized messages are acceptable).
optional bool lazy = 5 [default = false];- Parameters:
value- The lazy to set.- Returns:
- This builder for chaining.
-
clearLazy
Should this field be parsed lazily? Lazy applies only to message-type fields. It means that when the outer message is initially parsed, the inner message's contents will not be parsed but instead stored in encoded form. The inner message will actually be parsed when it is first accessed. This is only a hint. Implementations are free to choose whether to use eager or lazy parsing regardless of the value of this option. However, setting this option true suggests that the protocol author believes that using lazy parsing on this field is worth the additional bookkeeping overhead typically needed to implement it. This option does not affect the public interface of any generated code; all method signatures remain the same. Furthermore, thread-safety of the interface is not affected by this option; const methods remain safe to call from multiple threads concurrently, while non-const methods continue to require exclusive access. Note that lazy message fields are still eagerly verified to check ill-formed wireformat or missing required fields. Calling IsInitialized() on the outer message would fail if the inner message has missing required fields. Failed verification would result in parsing failure (except when uninitialized messages are acceptable).
optional bool lazy = 5 [default = false];- Returns:
- This builder for chaining.
-
hasUnverifiedLazy
public boolean hasUnverifiedLazy()unverified_lazy does no correctness checks on the byte stream. This should only be used where lazy with verification is prohibitive for performance reasons.
optional bool unverified_lazy = 15 [default = false];- Specified by:
hasUnverifiedLazyin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- Whether the unverifiedLazy field is set.
-
getUnverifiedLazy
public boolean getUnverifiedLazy()unverified_lazy does no correctness checks on the byte stream. This should only be used where lazy with verification is prohibitive for performance reasons.
optional bool unverified_lazy = 15 [default = false];- Specified by:
getUnverifiedLazyin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The unverifiedLazy.
-
setUnverifiedLazy
unverified_lazy does no correctness checks on the byte stream. This should only be used where lazy with verification is prohibitive for performance reasons.
optional bool unverified_lazy = 15 [default = false];- Parameters:
value- The unverifiedLazy to set.- Returns:
- This builder for chaining.
-
clearUnverifiedLazy
unverified_lazy does no correctness checks on the byte stream. This should only be used where lazy with verification is prohibitive for performance reasons.
optional bool unverified_lazy = 15 [default = false];- Returns:
- This builder for chaining.
-
hasDeprecated
public boolean hasDeprecated()Is this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.
optional bool deprecated = 3 [default = false];- Specified by:
hasDeprecatedin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()Is this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.
optional bool deprecated = 3 [default = false];- Specified by:
getDeprecatedin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The deprecated.
-
setDeprecated
Is this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.
optional bool deprecated = 3 [default = false];- Parameters:
value- The deprecated to set.- Returns:
- This builder for chaining.
-
clearDeprecated
Is this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.
optional bool deprecated = 3 [default = false];- Returns:
- This builder for chaining.
-
hasWeak
Deprecated.google.protobuf.FieldOptions.weak is deprecated. See google/protobuf/descriptor.proto;l=773DEPRECATED. DO NOT USE! For Google-internal migration only. Do not use.
optional bool weak = 10 [default = false, deprecated = true];- Specified by:
hasWeakin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- Whether the weak field is set.
-
getWeak
Deprecated.google.protobuf.FieldOptions.weak is deprecated. See google/protobuf/descriptor.proto;l=773DEPRECATED. DO NOT USE! For Google-internal migration only. Do not use.
optional bool weak = 10 [default = false, deprecated = true];- Specified by:
getWeakin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The weak.
-
setWeak
Deprecated.google.protobuf.FieldOptions.weak is deprecated. See google/protobuf/descriptor.proto;l=773DEPRECATED. DO NOT USE! For Google-internal migration only. Do not use.
optional bool weak = 10 [default = false, deprecated = true];- Parameters:
value- The weak to set.- Returns:
- This builder for chaining.
-
clearWeak
Deprecated.google.protobuf.FieldOptions.weak is deprecated. See google/protobuf/descriptor.proto;l=773DEPRECATED. DO NOT USE! For Google-internal migration only. Do not use.
optional bool weak = 10 [default = false, deprecated = true];- Returns:
- This builder for chaining.
-
hasDebugRedact
public boolean hasDebugRedact()Indicate that the field value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.
optional bool debug_redact = 16 [default = false];- Specified by:
hasDebugRedactin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- Whether the debugRedact field is set.
-
getDebugRedact
public boolean getDebugRedact()Indicate that the field value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.
optional bool debug_redact = 16 [default = false];- Specified by:
getDebugRedactin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The debugRedact.
-
setDebugRedact
Indicate that the field value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.
optional bool debug_redact = 16 [default = false];- Parameters:
value- The debugRedact to set.- Returns:
- This builder for chaining.
-
clearDebugRedact
Indicate that the field value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.
optional bool debug_redact = 16 [default = false];- Returns:
- This builder for chaining.
-
hasRetention
public boolean hasRetention()optional .google.protobuf.FieldOptions.OptionRetention retention = 17;- Specified by:
hasRetentionin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- Whether the retention field is set.
-
getRetention
optional .google.protobuf.FieldOptions.OptionRetention retention = 17;- Specified by:
getRetentionin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The retention.
-
setRetention
public DescriptorProtos.FieldOptions.Builder setRetention(DescriptorProtos.FieldOptions.OptionRetention value) optional .google.protobuf.FieldOptions.OptionRetention retention = 17;- Parameters:
value- The retention to set.- Returns:
- This builder for chaining.
-
clearRetention
optional .google.protobuf.FieldOptions.OptionRetention retention = 17;- Returns:
- This builder for chaining.
-
ensureTargetsIsMutable
private void ensureTargetsIsMutable() -
getTargetsList
repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;- Specified by:
getTargetsListin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- A list containing the targets.
-
getTargetsCount
public int getTargetsCount()repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;- Specified by:
getTargetsCountin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The count of targets.
-
getTargets
repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;- Specified by:
getTargetsin interfaceDescriptorProtos.FieldOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targets at the given index.
-
setTargets
public DescriptorProtos.FieldOptions.Builder setTargets(int index, DescriptorProtos.FieldOptions.OptionTargetType value) repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;- Parameters:
index- The index to set the value at.value- The targets to set.- Returns:
- This builder for chaining.
-
addTargets
public DescriptorProtos.FieldOptions.Builder addTargets(DescriptorProtos.FieldOptions.OptionTargetType value) repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;- Parameters:
value- The targets to add.- Returns:
- This builder for chaining.
-
addAllTargets
public DescriptorProtos.FieldOptions.Builder addAllTargets(Iterable<? extends DescriptorProtos.FieldOptions.OptionTargetType> values) repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;- Parameters:
values- The targets to add.- Returns:
- This builder for chaining.
-
clearTargets
repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;- Returns:
- This builder for chaining.
-
ensureEditionDefaultsIsMutable
private void ensureEditionDefaultsIsMutable() -
getEditionDefaultsList
repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;- Specified by:
getEditionDefaultsListin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
getEditionDefaultsCount
public int getEditionDefaultsCount()repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;- Specified by:
getEditionDefaultsCountin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
getEditionDefaults
repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;- Specified by:
getEditionDefaultsin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
setEditionDefaults
public DescriptorProtos.FieldOptions.Builder setEditionDefaults(int index, DescriptorProtos.FieldOptions.EditionDefault value) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
setEditionDefaults
public DescriptorProtos.FieldOptions.Builder setEditionDefaults(int index, DescriptorProtos.FieldOptions.EditionDefault.Builder builderForValue) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
addEditionDefaults
public DescriptorProtos.FieldOptions.Builder addEditionDefaults(DescriptorProtos.FieldOptions.EditionDefault value) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
addEditionDefaults
public DescriptorProtos.FieldOptions.Builder addEditionDefaults(int index, DescriptorProtos.FieldOptions.EditionDefault value) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
addEditionDefaults
public DescriptorProtos.FieldOptions.Builder addEditionDefaults(DescriptorProtos.FieldOptions.EditionDefault.Builder builderForValue) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
addEditionDefaults
public DescriptorProtos.FieldOptions.Builder addEditionDefaults(int index, DescriptorProtos.FieldOptions.EditionDefault.Builder builderForValue) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
addAllEditionDefaults
public DescriptorProtos.FieldOptions.Builder addAllEditionDefaults(Iterable<? extends DescriptorProtos.FieldOptions.EditionDefault> values) repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
clearEditionDefaults
repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
removeEditionDefaults
repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
getEditionDefaultsBuilder
repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
getEditionDefaultsOrBuilder
repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;- Specified by:
getEditionDefaultsOrBuilderin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
getEditionDefaultsOrBuilderList
public List<? extends DescriptorProtos.FieldOptions.EditionDefaultOrBuilder> getEditionDefaultsOrBuilderList()repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;- Specified by:
getEditionDefaultsOrBuilderListin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
addEditionDefaultsBuilder
repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
addEditionDefaultsBuilder
repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
getEditionDefaultsBuilderList
repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; -
internalGetEditionDefaultsFieldBuilder
private RepeatedFieldBuilder<DescriptorProtos.FieldOptions.EditionDefault, DescriptorProtos.FieldOptions.EditionDefault.Builder, DescriptorProtos.FieldOptions.EditionDefaultOrBuilder> internalGetEditionDefaultsFieldBuilder() -
hasFeatures
public boolean hasFeatures()Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 21;- Specified by:
hasFeaturesin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- Whether the features field is set.
-
getFeatures
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 21;- Specified by:
getFeaturesin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The features.
-
setFeatures
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 21; -
setFeatures
public DescriptorProtos.FieldOptions.Builder setFeatures(DescriptorProtos.FeatureSet.Builder builderForValue) Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 21; -
mergeFeatures
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 21; -
clearFeatures
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 21; -
getFeaturesBuilder
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 21; -
getFeaturesOrBuilder
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 21;- Specified by:
getFeaturesOrBuilderin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
internalGetFeaturesFieldBuilder
private SingleFieldBuilder<DescriptorProtos.FeatureSet, DescriptorProtos.FeatureSet.Builder, DescriptorProtos.FeatureSetOrBuilder> internalGetFeaturesFieldBuilder()Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 21; -
hasFeatureSupport
public boolean hasFeatureSupport()optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;- Specified by:
hasFeatureSupportin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- Whether the featureSupport field is set.
-
getFeatureSupport
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;- Specified by:
getFeatureSupportin interfaceDescriptorProtos.FieldOptionsOrBuilder- Returns:
- The featureSupport.
-
setFeatureSupport
public DescriptorProtos.FieldOptions.Builder setFeatureSupport(DescriptorProtos.FieldOptions.FeatureSupport value) optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; -
setFeatureSupport
public DescriptorProtos.FieldOptions.Builder setFeatureSupport(DescriptorProtos.FieldOptions.FeatureSupport.Builder builderForValue) optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; -
mergeFeatureSupport
public DescriptorProtos.FieldOptions.Builder mergeFeatureSupport(DescriptorProtos.FieldOptions.FeatureSupport value) optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; -
clearFeatureSupport
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; -
getFeatureSupportBuilder
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; -
getFeatureSupportOrBuilder
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;- Specified by:
getFeatureSupportOrBuilderin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
internalGetFeatureSupportFieldBuilder
private SingleFieldBuilder<DescriptorProtos.FieldOptions.FeatureSupport, DescriptorProtos.FieldOptions.FeatureSupport.Builder, DescriptorProtos.FieldOptions.FeatureSupportOrBuilder> internalGetFeatureSupportFieldBuilder()optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; -
ensureUninterpretedOptionIsMutable
private void ensureUninterpretedOptionIsMutable() -
getUninterpretedOptionList
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;- Specified by:
getUninterpretedOptionListin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
getUninterpretedOptionCount
public int getUninterpretedOptionCount()The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;- Specified by:
getUninterpretedOptionCountin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
getUninterpretedOption
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;- Specified by:
getUninterpretedOptionin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
setUninterpretedOption
public DescriptorProtos.FieldOptions.Builder setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value) The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
setUninterpretedOption
public DescriptorProtos.FieldOptions.Builder setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue) The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
addUninterpretedOption
public DescriptorProtos.FieldOptions.Builder addUninterpretedOption(DescriptorProtos.UninterpretedOption value) The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
addUninterpretedOption
public DescriptorProtos.FieldOptions.Builder addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value) The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
addUninterpretedOption
public DescriptorProtos.FieldOptions.Builder addUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue) The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
addUninterpretedOption
public DescriptorProtos.FieldOptions.Builder addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue) The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
addAllUninterpretedOption
public DescriptorProtos.FieldOptions.Builder addAllUninterpretedOption(Iterable<? extends DescriptorProtos.UninterpretedOption> values) The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
clearUninterpretedOption
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
removeUninterpretedOption
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
getUninterpretedOptionBuilder
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
getUninterpretedOptionOrBuilder
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;- Specified by:
getUninterpretedOptionOrBuilderin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
getUninterpretedOptionOrBuilderList
public List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;- Specified by:
getUninterpretedOptionOrBuilderListin interfaceDescriptorProtos.FieldOptionsOrBuilder
-
addUninterpretedOptionBuilder
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
addUninterpretedOptionBuilder
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
getUninterpretedOptionBuilderList
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; -
internalGetUninterpretedOptionFieldBuilder
private RepeatedFieldBuilder<DescriptorProtos.UninterpretedOption, DescriptorProtos.UninterpretedOption.Builder, DescriptorProtos.UninterpretedOptionOrBuilder> internalGetUninterpretedOptionFieldBuilder()
-