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 AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate RepeatedFieldBuilder<DescriptorProtos.ExtensionRangeOptions.Declaration, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder, DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder> private DescriptorProtos.FeatureSetprivate 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
ConstructorsModifierConstructorDescriptionprivateBuilder()privateBuilder(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.addExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.ExtensionRangeOptions, List<Type>> extension, Type value) 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.For external users: DO NOT USE.clearExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.ExtensionRangeOptions, Type> extension) Any features defined in the specific edition.The parser stores options it doesn't recognize here.The verification state of the range.private voidprivate voidgetDeclaration(int index) For external users: DO NOT USE.getDeclarationBuilder(int index) For external users: DO NOT USE.For external users: DO NOT USE.intFor 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.DescriptorGet 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.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.The verification state of the range.booleanAny features defined in the specific edition.booleanThe 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.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.mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.Mergeotherinto 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.setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.ExtensionRangeOptions, List<Type>> extension, int index, Type value) setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.ExtensionRangeOptions, Type> extension, Type value) 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 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_ -
uninterpretedOption_
-
uninterpretedOptionBuilder_
private RepeatedFieldBuilder<DescriptorProtos.UninterpretedOption, DescriptorProtos.UninterpretedOption.Builder, DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_ -
declaration_
-
declarationBuilder_
-
features_
-
featuresBuilder_
private SingleFieldBuilder<DescriptorProtos.FeatureSet, DescriptorProtos.FeatureSet.Builder, DescriptorProtos.FeatureSetOrBuilder> featuresBuilder_ -
verification_
private int verification_
-
-
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.ExtensionRangeOptions.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.ExtensionRangeOptions, DescriptorProtos.ExtensionRangeOptions.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.ExtensionRangeOptions.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.ExtensionRangeOptions>- 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.ExtensionRangeOptions.Builder setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.ExtensionRangeOptions, Type> extension, Type value) -
setExtension
public <Type> DescriptorProtos.ExtensionRangeOptions.Builder setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.ExtensionRangeOptions, List<Type>> extension, int index, Type value) -
addExtension
public <Type> DescriptorProtos.ExtensionRangeOptions.Builder addExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.ExtensionRangeOptions, List<Type>> extension, Type value) -
clearExtension
public <Type> DescriptorProtos.ExtensionRangeOptions.Builder clearExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.ExtensionRangeOptions, 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.ExtensionRangeOptions.Builder>
-
mergeFrom
public DescriptorProtos.ExtensionRangeOptions.Builder mergeFrom(DescriptorProtos.ExtensionRangeOptions other) -
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.ExtensionRangeOptions, DescriptorProtos.ExtensionRangeOptions.Builder>
-
mergeFrom
public DescriptorProtos.ExtensionRangeOptions.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.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:
getUninterpretedOptionListin 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:
getUninterpretedOptionCountin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
getUninterpretedOption
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;- Specified by:
getUninterpretedOptionin 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:
getUninterpretedOptionOrBuilderin 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:
getUninterpretedOptionOrBuilderListin 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, DescriptorProtos.UninterpretedOptionOrBuilder> internalGetUninterpretedOptionFieldBuilder() -
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:
getDeclarationListin 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:
getDeclarationCountin 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:
getDeclarationin 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:
getDeclarationOrBuilderin 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:
getDeclarationOrBuilderListin 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, DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder> internalGetDeclarationFieldBuilder() -
hasFeatures
public boolean hasFeatures()Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 50;- Specified by:
hasFeaturesin 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:
getFeaturesin 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:
getFeaturesOrBuilderin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
internalGetFeaturesFieldBuilder
private SingleFieldBuilder<DescriptorProtos.FeatureSet, DescriptorProtos.FeatureSet.Builder, DescriptorProtos.FeatureSetOrBuilder> internalGetFeaturesFieldBuilder()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:
hasVerificationin 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:
getVerificationin 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.
-