Package com.google.protobuf
Class DescriptorProtos.ExtensionRangeOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder>
-
- com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder
-
- All Implemented Interfaces:
DescriptorProtos.ExtensionRangeOptionsOrBuilder,com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder>,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.ExtensionRangeOptions
public static final class DescriptorProtos.ExtensionRangeOptions.Builder extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder> implements DescriptorProtos.ExtensionRangeOptionsOrBuilder
Protobuf typegoogle.protobuf.ExtensionRangeOptions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.ExtensionRangeOptions.BuilderaddAllDeclaration(java.lang.Iterable<? extends DescriptorProtos.ExtensionRangeOptions.Declaration> values)repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];DescriptorProtos.ExtensionRangeOptions.BuilderaddAllUninterpretedOption(java.lang.Iterable<? extends DescriptorProtos.UninterpretedOption> values)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];DescriptorProtos.ExtensionRangeOptions.BuilderaddDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration value)repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];DescriptorProtos.ExtensionRangeOptions.BuilderaddDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue)repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];DescriptorProtos.ExtensionRangeOptions.BuilderaddDeclaration(DescriptorProtos.ExtensionRangeOptions.Declaration value)repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];DescriptorProtos.ExtensionRangeOptions.BuilderaddDeclaration(DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue)repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];DescriptorProtos.ExtensionRangeOptions.BuilderaddUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];DescriptorProtos.ExtensionRangeOptions.BuilderaddUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];DescriptorProtos.ExtensionRangeOptions.BuilderaddUninterpretedOption(DescriptorProtos.UninterpretedOption value)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];DescriptorProtos.ExtensionRangeOptions.BuilderaddUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];DescriptorProtos.ExtensionRangeOptions.BuilderclearDeclaration()repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];DescriptorProtos.ExtensionRangeOptions.BuilderclearFeatures()optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];DescriptorProtos.ExtensionRangeOptions.BuilderclearUninterpretedOption()repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];DescriptorProtos.ExtensionRangeOptions.BuilderclearVerification()optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];DescriptorProtos.ExtensionRangeOptions.DeclarationgetDeclaration(int index)repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];intgetDeclarationCount()repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];java.util.List<DescriptorProtos.ExtensionRangeOptions.Declaration>getDeclarationList()repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];DescriptorProtos.FeatureSetgetFeatures()optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];DescriptorProtos.UninterpretedOptiongetUninterpretedOption(int index)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];intgetUninterpretedOptionCount()repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];java.util.List<DescriptorProtos.UninterpretedOption>getUninterpretedOptionList()repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];DescriptorProtos.ExtensionRangeOptions.VerificationStategetVerification()optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];booleanhasFeatures()optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];booleanhasVerification()optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];DescriptorProtos.ExtensionRangeOptions.BuildermergeFeatures(DescriptorProtos.FeatureSet value)optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];DescriptorProtos.ExtensionRangeOptions.BuilderremoveDeclaration(int index)repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];DescriptorProtos.ExtensionRangeOptions.BuilderremoveUninterpretedOption(int index)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];DescriptorProtos.ExtensionRangeOptions.BuildersetDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration value)repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];DescriptorProtos.ExtensionRangeOptions.BuildersetDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue)repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];DescriptorProtos.ExtensionRangeOptions.BuildersetFeatures(DescriptorProtos.FeatureSet value)optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];DescriptorProtos.ExtensionRangeOptions.BuildersetFeatures(DescriptorProtos.FeatureSet.Builder builderForValue)optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];DescriptorProtos.ExtensionRangeOptions.BuildersetUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];DescriptorProtos.ExtensionRangeOptions.BuildersetUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];DescriptorProtos.ExtensionRangeOptions.BuildersetVerification(DescriptorProtos.ExtensionRangeOptions.VerificationState value)optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableBuilder
addExtension, buildPartial, clearExtension, copyOnWriteInternal, getExtension, getExtension, getExtensionCount, hasExtension, 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
-
-
-
-
Method Detail
-
getUninterpretedOptionList
public java.util.List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];- Specified by:
getUninterpretedOptionListin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
getUninterpretedOptionCount
public int getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];- Specified by:
getUninterpretedOptionCountin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
getUninterpretedOption
public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];- Specified by:
getUninterpretedOptionin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
setUninterpretedOption
public DescriptorProtos.ExtensionRangeOptions.Builder setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
setUninterpretedOption
public DescriptorProtos.ExtensionRangeOptions.Builder setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
addUninterpretedOption
public DescriptorProtos.ExtensionRangeOptions.Builder addUninterpretedOption(DescriptorProtos.UninterpretedOption value)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
addUninterpretedOption
public DescriptorProtos.ExtensionRangeOptions.Builder addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
addUninterpretedOption
public DescriptorProtos.ExtensionRangeOptions.Builder addUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
addUninterpretedOption
public DescriptorProtos.ExtensionRangeOptions.Builder addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
addAllUninterpretedOption
public DescriptorProtos.ExtensionRangeOptions.Builder addAllUninterpretedOption(java.lang.Iterable<? extends DescriptorProtos.UninterpretedOption> values)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
clearUninterpretedOption
public DescriptorProtos.ExtensionRangeOptions.Builder clearUninterpretedOption()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
removeUninterpretedOption
public DescriptorProtos.ExtensionRangeOptions.Builder removeUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
getDeclarationList
public java.util.List<DescriptorProtos.ExtensionRangeOptions.Declaration> getDeclarationList()
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];- Specified by:
getDeclarationListin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
getDeclarationCount
public int getDeclarationCount()
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];- Specified by:
getDeclarationCountin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
getDeclaration
public DescriptorProtos.ExtensionRangeOptions.Declaration getDeclaration(int index)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];- Specified by:
getDeclarationin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
setDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder setDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration value)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
-
setDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder setDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
-
addDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder addDeclaration(DescriptorProtos.ExtensionRangeOptions.Declaration value)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
-
addDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder addDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration value)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
-
addDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder addDeclaration(DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
-
addDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder addDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
-
addAllDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder addAllDeclaration(java.lang.Iterable<? extends DescriptorProtos.ExtensionRangeOptions.Declaration> values)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
-
clearDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder clearDeclaration()
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
-
removeDeclaration
public DescriptorProtos.ExtensionRangeOptions.Builder removeDeclaration(int index)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
-
hasFeatures
public boolean hasFeatures()
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];- Specified by:
hasFeaturesin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder- Returns:
- Whether the features field is set.
-
getFeatures
public DescriptorProtos.FeatureSet getFeatures()
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];- Specified by:
getFeaturesin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder- Returns:
- The features.
-
setFeatures
public DescriptorProtos.ExtensionRangeOptions.Builder setFeatures(DescriptorProtos.FeatureSet value)
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
-
setFeatures
public DescriptorProtos.ExtensionRangeOptions.Builder setFeatures(DescriptorProtos.FeatureSet.Builder builderForValue)
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
-
mergeFeatures
public DescriptorProtos.ExtensionRangeOptions.Builder mergeFeatures(DescriptorProtos.FeatureSet value)
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
-
clearFeatures
public DescriptorProtos.ExtensionRangeOptions.Builder clearFeatures()
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
-
hasVerification
public boolean hasVerification()
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];- Specified by:
hasVerificationin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder- Returns:
- Whether the verification field is set.
-
getVerification
public DescriptorProtos.ExtensionRangeOptions.VerificationState getVerification()
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];- Specified by:
getVerificationin interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder- Returns:
- The verification.
-
setVerification
public DescriptorProtos.ExtensionRangeOptions.Builder setVerification(DescriptorProtos.ExtensionRangeOptions.VerificationState value)
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];- Parameters:
value- The enum numeric value on the wire for verification to set.- Returns:
- This builder for chaining.
-
clearVerification
public DescriptorProtos.ExtensionRangeOptions.Builder clearVerification()
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];- Returns:
- This builder for chaining.
-
-