Package com.google.protobuf
Class DescriptorProtos.ExtensionRangeOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.ExtensionRangeOptions.Builder>
com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.ExtensionRangeOptions.Builder>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder>
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder
- All Implemented Interfaces:
DescriptorProtos.ExtensionRangeOptionsOrBuilder
,GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.ExtensionRangeOptions>
,Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Cloneable
- Enclosing class:
DescriptorProtos.ExtensionRangeOptions
public static final class DescriptorProtos.ExtensionRangeOptions.Builder
extends GeneratedMessage.ExtendableBuilder<DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder>
implements DescriptorProtos.ExtensionRangeOptionsOrBuilder
Protobuf type
google.protobuf.ExtensionRangeOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private RepeatedFieldBuilder
<DescriptorProtos.ExtensionRangeOptions.Declaration, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder, DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder> private DescriptorProtos.FeatureSet
private SingleFieldBuilder
<DescriptorProtos.FeatureSet, DescriptorProtos.FeatureSet.Builder, DescriptorProtos.FeatureSetOrBuilder> private List
<DescriptorProtos.UninterpretedOption> private RepeatedFieldBuilder
<DescriptorProtos.UninterpretedOption, DescriptorProtos.UninterpretedOption.Builder, DescriptorProtos.UninterpretedOptionOrBuilder> private int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Builder()
private
Builder
(AbstractMessage.BuilderParent parent) -
Method Summary
Modifier and TypeMethodDescriptionaddAllDeclaration
(Iterable<? extends DescriptorProtos.ExtensionRangeOptions.Declaration> values) For external users: DO NOT USE.addAllUninterpretedOption
(Iterable<? extends DescriptorProtos.UninterpretedOption> values) The parser stores options it doesn't recognize here.addDeclaration
(int index, DescriptorProtos.ExtensionRangeOptions.Declaration value) For external users: DO NOT USE.addDeclaration
(int index, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue) For external users: DO NOT USE.For external users: DO NOT USE.addDeclaration
(DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue) For external users: DO NOT USE.For external users: DO NOT USE.addDeclarationBuilder
(int index) For external users: DO NOT USE.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 void
private void
clear()
Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.For external users: DO NOT USE.Any features defined in the specific edition.The parser stores options it doesn't recognize here.The verification state of the range.private void
private void
getDeclaration
(int index) For external users: DO NOT USE.getDeclarationBuilder
(int index) For external users: DO NOT USE.For external users: DO NOT USE.int
For external users: DO NOT USE.For external users: DO NOT USE.getDeclarationOrBuilder
(int index) For external users: DO NOT USE.For external users: DO NOT USE.Get an instance of the type with no fields set.static final Descriptors.Descriptor
Get the message's type's descriptor.Any features defined in the specific edition.Any features defined in the specific edition.Any features defined in the specific edition.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.int
The 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.The verification state of the range.boolean
Any features defined in the specific edition.boolean
The verification state of the range.private RepeatedFieldBuilder
<DescriptorProtos.ExtensionRangeOptions.Declaration, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder, DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder> private SingleFieldBuilder
<DescriptorProtos.FeatureSet, DescriptorProtos.FeatureSet.Builder, DescriptorProtos.FeatureSetOrBuilder> Any features defined in the specific edition.protected GeneratedMessage.FieldAccessorTable
Get the FieldAccessorTable for this type.private RepeatedFieldBuilder
<DescriptorProtos.UninterpretedOption, DescriptorProtos.UninterpretedOption.Builder, DescriptorProtos.UninterpretedOptionOrBuilder> final boolean
Returns true if all required fields in the message and all embedded messages are set, false otherwise.private void
Any features defined in the specific edition.mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) LikeMessageLite.Builder.mergeFrom(CodedInputStream)
, but also parses extensions.Mergeother
into the message being built.removeDeclaration
(int index) For external users: DO NOT USE.removeUninterpretedOption
(int index) The parser stores options it doesn't recognize here.setDeclaration
(int index, DescriptorProtos.ExtensionRangeOptions.Declaration value) For external users: DO NOT USE.setDeclaration
(int index, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue) For external users: DO NOT USE.Any features defined in the specific edition.setFeatures
(DescriptorProtos.FeatureSet.Builder builderForValue) Any features defined in the specific edition.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.The verification state of the range.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 Details
-
bitField0_
private int bitField0_ -
uninterpretedOption_
-
uninterpretedOptionBuilder_
private RepeatedFieldBuilder<DescriptorProtos.UninterpretedOption,DescriptorProtos.UninterpretedOption.Builder, uninterpretedOptionBuilder_DescriptorProtos.UninterpretedOptionOrBuilder> -
declaration_
-
declarationBuilder_
-
features_
-
featuresBuilder_
private SingleFieldBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder, featuresBuilder_DescriptorProtos.FeatureSetOrBuilder> -
verification_
private int verification_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
-
-
Method Details
-
getDescriptor
-
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.ExtensionRangeOptions.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
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.ExtensionRangeOptions,
DescriptorProtos.ExtensionRangeOptions.Builder>
-
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.ExtensionRangeOptions.Builder>
-
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.ExtensionRangeOptions>
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
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
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
-
buildPartial0
-
mergeFrom
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.ExtensionRangeOptions.Builder>
-
mergeFrom
public DescriptorProtos.ExtensionRangeOptions.Builder mergeFrom(DescriptorProtos.ExtensionRangeOptions 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.ExtensionRangeOptions,
DescriptorProtos.ExtensionRangeOptions.Builder>
-
mergeFrom
public DescriptorProtos.ExtensionRangeOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws 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.ExtensionRangeOptions.Builder>
- Throws:
IOException
- an I/O error reading from the stream
-
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:
getUninterpretedOptionList
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
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.ExtensionRangeOptionsOrBuilder
-
getUninterpretedOption
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- Specified by:
getUninterpretedOption
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
setUninterpretedOption
public DescriptorProtos.ExtensionRangeOptions.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.ExtensionRangeOptions.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.ExtensionRangeOptions.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.ExtensionRangeOptions.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.ExtensionRangeOptions.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.ExtensionRangeOptions.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.ExtensionRangeOptions.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:
getUninterpretedOptionOrBuilder
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
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:
getUninterpretedOptionOrBuilderList
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
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, internalGetUninterpretedOptionFieldBuilder()DescriptorProtos.UninterpretedOptionOrBuilder> -
ensureDeclarationIsMutable
private void ensureDeclarationIsMutable() -
getDeclarationList
For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
- Specified by:
getDeclarationList
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
getDeclarationCount
public int getDeclarationCount()For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
- Specified by:
getDeclarationCount
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
getDeclaration
For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
- Specified by:
getDeclaration
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
setDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder setDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration value) For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
setDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder setDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue) For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
addDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder addDeclaration(DescriptorProtos.ExtensionRangeOptions.Declaration value) For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
addDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder addDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration value) For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
addDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder addDeclaration(DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue) For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
addDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder addDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue) For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
addAllDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder addAllDeclaration(Iterable<? extends DescriptorProtos.ExtensionRangeOptions.Declaration> values) For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
clearDeclaration
For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
removeDeclaration
For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
getDeclarationBuilder
For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
getDeclarationOrBuilder
public DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder getDeclarationOrBuilder(int index) For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
- Specified by:
getDeclarationOrBuilder
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
getDeclarationOrBuilderList
public List<? extends DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder> getDeclarationOrBuilderList()For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
- Specified by:
getDeclarationOrBuilderList
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
addDeclarationBuilder
For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
addDeclarationBuilder
For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
getDeclarationBuilderList
For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
-
internalGetDeclarationFieldBuilder
private RepeatedFieldBuilder<DescriptorProtos.ExtensionRangeOptions.Declaration,DescriptorProtos.ExtensionRangeOptions.Declaration.Builder, internalGetDeclarationFieldBuilder()DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder> -
hasFeatures
public boolean hasFeatures()Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 50;
- Specified by:
hasFeatures
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
- Returns:
- Whether the features field is set.
-
getFeatures
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 50;
- Specified by:
getFeatures
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
- Returns:
- The features.
-
setFeatures
public DescriptorProtos.ExtensionRangeOptions.Builder setFeatures(DescriptorProtos.FeatureSet value) Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 50;
-
setFeatures
public DescriptorProtos.ExtensionRangeOptions.Builder setFeatures(DescriptorProtos.FeatureSet.Builder builderForValue) Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 50;
-
mergeFeatures
public DescriptorProtos.ExtensionRangeOptions.Builder mergeFeatures(DescriptorProtos.FeatureSet value) Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 50;
-
clearFeatures
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 50;
-
getFeaturesBuilder
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 50;
-
getFeaturesOrBuilder
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 50;
- Specified by:
getFeaturesOrBuilder
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
internalGetFeaturesFieldBuilder
private SingleFieldBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder, internalGetFeaturesFieldBuilder()DescriptorProtos.FeatureSetOrBuilder> Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 50;
-
hasVerification
public boolean hasVerification()The verification state of the range. TODO: flip the default to DECLARATION once all empty ranges are marked as UNVERIFIED.
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE];
- Specified by:
hasVerification
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
- Returns:
- Whether the verification field is set.
-
getVerification
The verification state of the range. TODO: flip the default to DECLARATION once all empty ranges are marked as UNVERIFIED.
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE];
- Specified by:
getVerification
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
- Returns:
- The verification.
-
setVerification
public DescriptorProtos.ExtensionRangeOptions.Builder setVerification(DescriptorProtos.ExtensionRangeOptions.VerificationState value) The verification state of the range. TODO: flip the default to DECLARATION once all empty ranges are marked as UNVERIFIED.
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE];
- Parameters:
value
- The verification to set.- Returns:
- This builder for chaining.
-
clearVerification
The verification state of the range. TODO: flip the default to DECLARATION once all empty ranges are marked as UNVERIFIED.
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE];
- Returns:
- This builder for chaining.
-