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
,GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder>
,MessageLite.Builder
,MessageLiteOrBuilder
,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.ExtensionRangeOptions
public static final class DescriptorProtos.ExtensionRangeOptions.Builder extends GeneratedMessageLite.ExtendableBuilder<DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder> implements DescriptorProtos.ExtensionRangeOptionsOrBuilder
Protobuf typegoogle.protobuf.ExtensionRangeOptions
-
-
Field Summary
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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];
DescriptorProtos.ExtensionRangeOptions.Builder
addAllUninterpretedOption(java.lang.Iterable<? extends DescriptorProtos.UninterpretedOption> values)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
DescriptorProtos.ExtensionRangeOptions.Builder
addDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration value)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
DescriptorProtos.ExtensionRangeOptions.Builder
addDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
DescriptorProtos.ExtensionRangeOptions.Builder
addDeclaration(DescriptorProtos.ExtensionRangeOptions.Declaration value)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
DescriptorProtos.ExtensionRangeOptions.Builder
addDeclaration(DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
DescriptorProtos.ExtensionRangeOptions.Builder
addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
DescriptorProtos.ExtensionRangeOptions.Builder
addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
DescriptorProtos.ExtensionRangeOptions.Builder
addUninterpretedOption(DescriptorProtos.UninterpretedOption value)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
DescriptorProtos.ExtensionRangeOptions.Builder
addUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
DescriptorProtos.ExtensionRangeOptions.Builder
clearDeclaration()
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
DescriptorProtos.ExtensionRangeOptions.Builder
clearFeatures()
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
DescriptorProtos.ExtensionRangeOptions.Builder
clearUninterpretedOption()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
DescriptorProtos.ExtensionRangeOptions.Builder
clearVerification()
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
DescriptorProtos.ExtensionRangeOptions.Declaration
getDeclaration(int index)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
int
getDeclarationCount()
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.FeatureSet
getFeatures()
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
DescriptorProtos.UninterpretedOption
getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
int
getUninterpretedOptionCount()
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.VerificationState
getVerification()
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
boolean
hasFeatures()
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
boolean
hasVerification()
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
DescriptorProtos.ExtensionRangeOptions.Builder
mergeFeatures(DescriptorProtos.FeatureSet value)
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
DescriptorProtos.ExtensionRangeOptions.Builder
removeDeclaration(int index)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
DescriptorProtos.ExtensionRangeOptions.Builder
removeUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
DescriptorProtos.ExtensionRangeOptions.Builder
setDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration value)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
DescriptorProtos.ExtensionRangeOptions.Builder
setDeclaration(int index, DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue)
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
DescriptorProtos.ExtensionRangeOptions.Builder
setFeatures(DescriptorProtos.FeatureSet value)
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
DescriptorProtos.ExtensionRangeOptions.Builder
setFeatures(DescriptorProtos.FeatureSet.Builder builderForValue)
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
DescriptorProtos.ExtensionRangeOptions.Builder
setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
DescriptorProtos.ExtensionRangeOptions.Builder
setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
DescriptorProtos.ExtensionRangeOptions.Builder
setVerification(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
-
Methods inherited from interface com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Method Detail
-
getUninterpretedOptionList
public java.util.List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
- Specified by:
getUninterpretedOptionList
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
getUninterpretedOptionCount
public int getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
- Specified by:
getUninterpretedOptionCount
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
getUninterpretedOption
public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
- Specified by:
getUninterpretedOption
in 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:
getDeclarationList
in interfaceDescriptorProtos.ExtensionRangeOptionsOrBuilder
-
getDeclarationCount
public int getDeclarationCount()
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
- Specified by:
getDeclarationCount
in 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:
getDeclaration
in 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:
hasFeatures
in 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:
getFeatures
in 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:
hasVerification
in 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:
getVerification
in 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.
-
-