Package com.google.protobuf
Class DescriptorProtos.EnumValueOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.ExtendableBuilder<DescriptorProtos.EnumValueOptions,DescriptorProtos.EnumValueOptions.Builder>
-
- com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder
-
- All Implemented Interfaces:
DescriptorProtos.EnumValueOptionsOrBuilder
,GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.EnumValueOptions>
,Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.EnumValueOptions
public static final class DescriptorProtos.EnumValueOptions.Builder extends GeneratedMessage.ExtendableBuilder<DescriptorProtos.EnumValueOptions,DescriptorProtos.EnumValueOptions.Builder> implements DescriptorProtos.EnumValueOptionsOrBuilder
Protobuf typegoogle.protobuf.EnumValueOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private boolean
debugRedact_
private boolean
deprecated_
private DescriptorProtos.FeatureSet
features_
private SingleFieldBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder,DescriptorProtos.FeatureSetOrBuilder>
featuresBuilder_
private DescriptorProtos.FieldOptions.FeatureSupport
featureSupport_
private SingleFieldBuilder<DescriptorProtos.FieldOptions.FeatureSupport,DescriptorProtos.FieldOptions.FeatureSupport.Builder,DescriptorProtos.FieldOptions.FeatureSupportOrBuilder>
featureSupportBuilder_
private java.util.List<DescriptorProtos.UninterpretedOption>
uninterpretedOption_
private RepeatedFieldBuilder<DescriptorProtos.UninterpretedOption,DescriptorProtos.UninterpretedOption.Builder,DescriptorProtos.UninterpretedOptionOrBuilder>
uninterpretedOptionBuilder_
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder()
private
Builder(AbstractMessage.BuilderParent parent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.EnumValueOptions.Builder
addAllUninterpretedOption(java.lang.Iterable<? extends DescriptorProtos.UninterpretedOption> values)
The parser stores options it doesn't recognize here.DescriptorProtos.EnumValueOptions.Builder
addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here.DescriptorProtos.EnumValueOptions.Builder
addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.DescriptorProtos.EnumValueOptions.Builder
addUninterpretedOption(DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here.DescriptorProtos.EnumValueOptions.Builder
addUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.DescriptorProtos.UninterpretedOption.Builder
addUninterpretedOptionBuilder()
The parser stores options it doesn't recognize here.DescriptorProtos.UninterpretedOption.Builder
addUninterpretedOptionBuilder(int index)
The parser stores options it doesn't recognize here.DescriptorProtos.EnumValueOptions
build()
Constructs the message based on the state of the Builder.DescriptorProtos.EnumValueOptions
buildPartial()
LikeMessageLite.Builder.build()
, but does not throw an exception if the message is missing required fields.private void
buildPartial0(DescriptorProtos.EnumValueOptions result)
private void
buildPartialRepeatedFields(DescriptorProtos.EnumValueOptions result)
DescriptorProtos.EnumValueOptions.Builder
clear()
Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.DescriptorProtos.EnumValueOptions.Builder
clearDebugRedact()
Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g.DescriptorProtos.EnumValueOptions.Builder
clearDeprecated()
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.DescriptorProtos.EnumValueOptions.Builder
clearFeatures()
Any features defined in the specific edition.DescriptorProtos.EnumValueOptions.Builder
clearFeatureSupport()
Information about the support window of a feature value.DescriptorProtos.EnumValueOptions.Builder
clearUninterpretedOption()
The parser stores options it doesn't recognize here.private void
ensureUninterpretedOptionIsMutable()
boolean
getDebugRedact()
Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g.DescriptorProtos.EnumValueOptions
getDefaultInstanceForType()
Get an instance of the type with no fields set.boolean
getDeprecated()
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.static Descriptors.Descriptor
getDescriptor()
Descriptors.Descriptor
getDescriptorForType()
Get the message's type's descriptor.DescriptorProtos.FeatureSet
getFeatures()
Any features defined in the specific edition.DescriptorProtos.FeatureSet.Builder
getFeaturesBuilder()
Any features defined in the specific edition.private SingleFieldBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder,DescriptorProtos.FeatureSetOrBuilder>
getFeaturesFieldBuilder()
Any features defined in the specific edition.DescriptorProtos.FeatureSetOrBuilder
getFeaturesOrBuilder()
Any features defined in the specific edition.DescriptorProtos.FieldOptions.FeatureSupport
getFeatureSupport()
Information about the support window of a feature value.DescriptorProtos.FieldOptions.FeatureSupport.Builder
getFeatureSupportBuilder()
Information about the support window of a feature value.private SingleFieldBuilder<DescriptorProtos.FieldOptions.FeatureSupport,DescriptorProtos.FieldOptions.FeatureSupport.Builder,DescriptorProtos.FieldOptions.FeatureSupportOrBuilder>
getFeatureSupportFieldBuilder()
Information about the support window of a feature value.DescriptorProtos.FieldOptions.FeatureSupportOrBuilder
getFeatureSupportOrBuilder()
Information about the support window of a feature value.DescriptorProtos.UninterpretedOption
getUninterpretedOption(int index)
The parser stores options it doesn't recognize here.DescriptorProtos.UninterpretedOption.Builder
getUninterpretedOptionBuilder(int index)
The parser stores options it doesn't recognize here.java.util.List<DescriptorProtos.UninterpretedOption.Builder>
getUninterpretedOptionBuilderList()
The parser stores options it doesn't recognize here.int
getUninterpretedOptionCount()
The parser stores options it doesn't recognize here.private RepeatedFieldBuilder<DescriptorProtos.UninterpretedOption,DescriptorProtos.UninterpretedOption.Builder,DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionFieldBuilder()
java.util.List<DescriptorProtos.UninterpretedOption>
getUninterpretedOptionList()
The parser stores options it doesn't recognize here.DescriptorProtos.UninterpretedOptionOrBuilder
getUninterpretedOptionOrBuilder(int index)
The parser stores options it doesn't recognize here.java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList()
The parser stores options it doesn't recognize here.boolean
hasDebugRedact()
Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g.boolean
hasDeprecated()
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.boolean
hasFeatures()
Any features defined in the specific edition.boolean
hasFeatureSupport()
Information about the support window of a feature value.protected GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
Get the FieldAccessorTable for this type.boolean
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false otherwise.private void
maybeForceBuilderInitialization()
DescriptorProtos.EnumValueOptions.Builder
mergeFeatures(DescriptorProtos.FeatureSet value)
Any features defined in the specific edition.DescriptorProtos.EnumValueOptions.Builder
mergeFeatureSupport(DescriptorProtos.FieldOptions.FeatureSupport value)
Information about the support window of a feature value.DescriptorProtos.EnumValueOptions.Builder
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
LikeMessageLite.Builder.mergeFrom(CodedInputStream)
, but also parses extensions.DescriptorProtos.EnumValueOptions.Builder
mergeFrom(DescriptorProtos.EnumValueOptions other)
DescriptorProtos.EnumValueOptions.Builder
mergeFrom(Message other)
Mergeother
into the message being built.DescriptorProtos.EnumValueOptions.Builder
removeUninterpretedOption(int index)
The parser stores options it doesn't recognize here.DescriptorProtos.EnumValueOptions.Builder
setDebugRedact(boolean value)
Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g.DescriptorProtos.EnumValueOptions.Builder
setDeprecated(boolean value)
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.DescriptorProtos.EnumValueOptions.Builder
setFeatures(DescriptorProtos.FeatureSet value)
Any features defined in the specific edition.DescriptorProtos.EnumValueOptions.Builder
setFeatures(DescriptorProtos.FeatureSet.Builder builderForValue)
Any features defined in the specific edition.DescriptorProtos.EnumValueOptions.Builder
setFeatureSupport(DescriptorProtos.FieldOptions.FeatureSupport value)
Information about the support window of a feature value.DescriptorProtos.EnumValueOptions.Builder
setFeatureSupport(DescriptorProtos.FieldOptions.FeatureSupport.Builder builderForValue)
Information about the support window of a feature value.DescriptorProtos.EnumValueOptions.Builder
setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here.DescriptorProtos.EnumValueOptions.Builder
setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.-
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, addRepeatedField, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, internalSetExtensionSet, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension, setField, setRepeatedField
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
clearOneof, clone, dispose, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
-
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
deprecated_
private boolean deprecated_
-
features_
private DescriptorProtos.FeatureSet features_
-
featuresBuilder_
private SingleFieldBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder,DescriptorProtos.FeatureSetOrBuilder> featuresBuilder_
-
debugRedact_
private boolean debugRedact_
-
featureSupport_
private DescriptorProtos.FieldOptions.FeatureSupport featureSupport_
-
featureSupportBuilder_
private SingleFieldBuilder<DescriptorProtos.FieldOptions.FeatureSupport,DescriptorProtos.FieldOptions.FeatureSupport.Builder,DescriptorProtos.FieldOptions.FeatureSupportOrBuilder> featureSupportBuilder_
-
uninterpretedOption_
private java.util.List<DescriptorProtos.UninterpretedOption> uninterpretedOption_
-
uninterpretedOptionBuilder_
private RepeatedFieldBuilder<DescriptorProtos.UninterpretedOption,DescriptorProtos.UninterpretedOption.Builder,DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_
-
-
Constructor Detail
-
Builder
private Builder()
-
Builder
private Builder(AbstractMessage.BuilderParent parent)
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Description copied from class:GeneratedMessage.Builder
Get 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:
internalGetFieldAccessorTable
in classGeneratedMessage.Builder<DescriptorProtos.EnumValueOptions.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public DescriptorProtos.EnumValueOptions.Builder clear()
Description copied from class:GeneratedMessage.Builder
Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessage.ExtendableBuilder<DescriptorProtos.EnumValueOptions,DescriptorProtos.EnumValueOptions.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
Description copied from interface:Message.Builder
Get the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType()
.- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessage.Builder<DescriptorProtos.EnumValueOptions.Builder>
-
getDefaultInstanceForType
public DescriptorProtos.EnumValueOptions getDefaultInstanceForType()
Description copied from interface:MessageLiteOrBuilder
Get 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 theMessageLite
interface whereasgetDefaultInstance()
is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForType
in interfaceGeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.EnumValueOptions>
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public DescriptorProtos.EnumValueOptions build()
Description copied from interface:MessageLite.Builder
Constructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public DescriptorProtos.EnumValueOptions buildPartial()
Description copied from interface:MessageLite.Builder
LikeMessageLite.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:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(DescriptorProtos.EnumValueOptions result)
-
buildPartial0
private void buildPartial0(DescriptorProtos.EnumValueOptions result)
-
mergeFrom
public DescriptorProtos.EnumValueOptions.Builder mergeFrom(Message other)
Description copied from interface:Message.Builder
Mergeother
into the message being built.other
must 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 inother
are 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::MergeFrom
method in C++.- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<DescriptorProtos.EnumValueOptions.Builder>
-
mergeFrom
public DescriptorProtos.EnumValueOptions.Builder mergeFrom(DescriptorProtos.EnumValueOptions other)
-
isInitialized
public final boolean isInitialized()
Description copied from interface:MessageLiteOrBuilder
Returns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessage.ExtendableBuilder<DescriptorProtos.EnumValueOptions,DescriptorProtos.EnumValueOptions.Builder>
-
mergeFrom
public DescriptorProtos.EnumValueOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
Description copied from interface:MessageLite.Builder
LikeMessageLite.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:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<DescriptorProtos.EnumValueOptions.Builder>
- Throws:
InvalidProtocolBufferException
- the bytes read are not syntactically correct according to the protobuf wire format specification. The data is corrupt, incomplete, or was never a protobuf in the first place.java.io.IOException
- an I/O error reading from the stream
-
hasDeprecated
public boolean hasDeprecated()
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
optional bool deprecated = 1 [default = false];
- Specified by:
hasDeprecated
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
optional bool deprecated = 1 [default = false];
- Specified by:
getDeprecated
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
- Returns:
- The deprecated.
-
setDeprecated
public DescriptorProtos.EnumValueOptions.Builder setDeprecated(boolean value)
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
optional bool deprecated = 1 [default = false];
- Parameters:
value
- The deprecated to set.- Returns:
- This builder for chaining.
-
clearDeprecated
public DescriptorProtos.EnumValueOptions.Builder clearDeprecated()
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
optional bool deprecated = 1 [default = false];
- Returns:
- This builder for chaining.
-
hasFeatures
public boolean hasFeatures()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;
- Specified by:
hasFeatures
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
- Returns:
- Whether the features field is set.
-
getFeatures
public DescriptorProtos.FeatureSet getFeatures()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;
- Specified by:
getFeatures
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
- Returns:
- The features.
-
setFeatures
public DescriptorProtos.EnumValueOptions.Builder setFeatures(DescriptorProtos.FeatureSet value)
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;
-
setFeatures
public DescriptorProtos.EnumValueOptions.Builder setFeatures(DescriptorProtos.FeatureSet.Builder builderForValue)
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;
-
mergeFeatures
public DescriptorProtos.EnumValueOptions.Builder mergeFeatures(DescriptorProtos.FeatureSet value)
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;
-
clearFeatures
public DescriptorProtos.EnumValueOptions.Builder clearFeatures()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;
-
getFeaturesBuilder
public DescriptorProtos.FeatureSet.Builder getFeaturesBuilder()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;
-
getFeaturesOrBuilder
public DescriptorProtos.FeatureSetOrBuilder getFeaturesOrBuilder()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;
- Specified by:
getFeaturesOrBuilder
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
-
getFeaturesFieldBuilder
private SingleFieldBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder,DescriptorProtos.FeatureSetOrBuilder> getFeaturesFieldBuilder()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;
-
hasDebugRedact
public boolean hasDebugRedact()
Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.
optional bool debug_redact = 3 [default = false];
- Specified by:
hasDebugRedact
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
- Returns:
- Whether the debugRedact field is set.
-
getDebugRedact
public boolean getDebugRedact()
Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.
optional bool debug_redact = 3 [default = false];
- Specified by:
getDebugRedact
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
- Returns:
- The debugRedact.
-
setDebugRedact
public DescriptorProtos.EnumValueOptions.Builder setDebugRedact(boolean value)
Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.
optional bool debug_redact = 3 [default = false];
- Parameters:
value
- The debugRedact to set.- Returns:
- This builder for chaining.
-
clearDebugRedact
public DescriptorProtos.EnumValueOptions.Builder clearDebugRedact()
Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.
optional bool debug_redact = 3 [default = false];
- Returns:
- This builder for chaining.
-
hasFeatureSupport
public boolean hasFeatureSupport()
Information about the support window of a feature value.
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
- Specified by:
hasFeatureSupport
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
- Returns:
- Whether the featureSupport field is set.
-
getFeatureSupport
public DescriptorProtos.FieldOptions.FeatureSupport getFeatureSupport()
Information about the support window of a feature value.
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
- Specified by:
getFeatureSupport
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
- Returns:
- The featureSupport.
-
setFeatureSupport
public DescriptorProtos.EnumValueOptions.Builder setFeatureSupport(DescriptorProtos.FieldOptions.FeatureSupport value)
Information about the support window of a feature value.
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
-
setFeatureSupport
public DescriptorProtos.EnumValueOptions.Builder setFeatureSupport(DescriptorProtos.FieldOptions.FeatureSupport.Builder builderForValue)
Information about the support window of a feature value.
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
-
mergeFeatureSupport
public DescriptorProtos.EnumValueOptions.Builder mergeFeatureSupport(DescriptorProtos.FieldOptions.FeatureSupport value)
Information about the support window of a feature value.
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
-
clearFeatureSupport
public DescriptorProtos.EnumValueOptions.Builder clearFeatureSupport()
Information about the support window of a feature value.
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
-
getFeatureSupportBuilder
public DescriptorProtos.FieldOptions.FeatureSupport.Builder getFeatureSupportBuilder()
Information about the support window of a feature value.
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
-
getFeatureSupportOrBuilder
public DescriptorProtos.FieldOptions.FeatureSupportOrBuilder getFeatureSupportOrBuilder()
Information about the support window of a feature value.
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
- Specified by:
getFeatureSupportOrBuilder
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
-
getFeatureSupportFieldBuilder
private SingleFieldBuilder<DescriptorProtos.FieldOptions.FeatureSupport,DescriptorProtos.FieldOptions.FeatureSupport.Builder,DescriptorProtos.FieldOptions.FeatureSupportOrBuilder> getFeatureSupportFieldBuilder()
Information about the support window of a feature value.
optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
-
ensureUninterpretedOptionIsMutable
private void ensureUninterpretedOptionIsMutable()
-
getUninterpretedOptionList
public java.util.List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- Specified by:
getUninterpretedOptionList
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
-
getUninterpretedOptionCount
public int getUninterpretedOptionCount()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- Specified by:
getUninterpretedOptionCount
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
-
getUninterpretedOption
public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- Specified by:
getUninterpretedOption
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
-
setUninterpretedOption
public DescriptorProtos.EnumValueOptions.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.EnumValueOptions.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.EnumValueOptions.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.EnumValueOptions.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.EnumValueOptions.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.EnumValueOptions.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.EnumValueOptions.Builder addAllUninterpretedOption(java.lang.Iterable<? extends DescriptorProtos.UninterpretedOption> values)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
clearUninterpretedOption
public DescriptorProtos.EnumValueOptions.Builder clearUninterpretedOption()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
removeUninterpretedOption
public DescriptorProtos.EnumValueOptions.Builder removeUninterpretedOption(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOptionBuilder
public DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOptionOrBuilder
public DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- Specified by:
getUninterpretedOptionOrBuilder
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
-
getUninterpretedOptionOrBuilderList
public java.util.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:
getUninterpretedOptionOrBuilderList
in interfaceDescriptorProtos.EnumValueOptionsOrBuilder
-
addUninterpretedOptionBuilder
public DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
addUninterpretedOptionBuilder
public DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOptionBuilderList
public java.util.List<DescriptorProtos.UninterpretedOption.Builder> getUninterpretedOptionBuilderList()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOptionFieldBuilder
private RepeatedFieldBuilder<DescriptorProtos.UninterpretedOption,DescriptorProtos.UninterpretedOption.Builder,DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionFieldBuilder()
-
-