Package com.google.protobuf
Class DescriptorProtos.ExtensionRangeOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder>
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder>
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder
- All Implemented Interfaces:
DescriptorProtos.ExtensionRangeOptionsOrBuilder
,GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.ExtensionRangeOptions,
,DescriptorProtos.ExtensionRangeOptions.Builder> MessageLite.Builder
,MessageLiteOrBuilder
,Cloneable
- Enclosing class:
DescriptorProtos.ExtensionRangeOptions
public static final class DescriptorProtos.ExtensionRangeOptions.Builder
extends GeneratedMessageLite.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
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Constructor Summary
Constructors -
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.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.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.getDeclaration
(int index) For external users: DO NOT USE.int
For external users: DO NOT USE.For external users: DO NOT USE.Any features defined in the specific edition.getUninterpretedOption
(int index) 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.The verification state of the range.boolean
Any features defined in the specific edition.boolean
The verification state of the range.Any features defined in the specific edition.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.GeneratedMessageLite.ExtendableBuilder
addExtension, buildPartial, clearExtension, copyOnWriteInternal, getExtension, getExtension, getExtensionCount, hasExtension, internalSetExtensionSet, setExtension, setExtension
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
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;
-
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];
-
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;
-
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 enum numeric value on the wire for 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.
-