Package com.google.protobuf
Class DescriptorProtos.MethodOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<DescriptorProtos.MethodOptions,DescriptorProtos.MethodOptions.Builder>
-
- com.google.protobuf.DescriptorProtos.MethodOptions.Builder
-
- All Implemented Interfaces:
DescriptorProtos.MethodOptionsOrBuilder
,GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.MethodOptions,DescriptorProtos.MethodOptions.Builder>
,MessageLite.Builder
,MessageLiteOrBuilder
,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.MethodOptions
public static final class DescriptorProtos.MethodOptions.Builder extends GeneratedMessageLite.ExtendableBuilder<DescriptorProtos.MethodOptions,DescriptorProtos.MethodOptions.Builder> implements DescriptorProtos.MethodOptionsOrBuilder
Protobuf typegoogle.protobuf.MethodOptions
-
-
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 Modifier Constructor Description private
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.MethodOptions.Builder
addAllUninterpretedOption(java.lang.Iterable<? extends DescriptorProtos.UninterpretedOption> values)
The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.Builder
addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.Builder
addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.Builder
addUninterpretedOption(DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.Builder
addUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.Builder
clearDeprecated()
Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.DescriptorProtos.MethodOptions.Builder
clearFeatures()
Any features defined in the specific edition.DescriptorProtos.MethodOptions.Builder
clearIdempotencyLevel()
optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
DescriptorProtos.MethodOptions.Builder
clearUninterpretedOption()
The parser stores options it doesn't recognize here.boolean
getDeprecated()
Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.DescriptorProtos.FeatureSet
getFeatures()
Any features defined in the specific edition.DescriptorProtos.MethodOptions.IdempotencyLevel
getIdempotencyLevel()
optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
DescriptorProtos.UninterpretedOption
getUninterpretedOption(int index)
The parser stores options it doesn't recognize here.int
getUninterpretedOptionCount()
The parser stores options it doesn't recognize here.java.util.List<DescriptorProtos.UninterpretedOption>
getUninterpretedOptionList()
The parser stores options it doesn't recognize here.boolean
hasDeprecated()
Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.boolean
hasFeatures()
Any features defined in the specific edition.boolean
hasIdempotencyLevel()
optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
DescriptorProtos.MethodOptions.Builder
mergeFeatures(DescriptorProtos.FeatureSet value)
Any features defined in the specific edition.DescriptorProtos.MethodOptions.Builder
removeUninterpretedOption(int index)
The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.Builder
setDeprecated(boolean value)
Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.DescriptorProtos.MethodOptions.Builder
setFeatures(DescriptorProtos.FeatureSet value)
Any features defined in the specific edition.DescriptorProtos.MethodOptions.Builder
setFeatures(DescriptorProtos.FeatureSet.Builder builderForValue)
Any features defined in the specific edition.DescriptorProtos.MethodOptions.Builder
setIdempotencyLevel(DescriptorProtos.MethodOptions.IdempotencyLevel value)
optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
DescriptorProtos.MethodOptions.Builder
setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.Builder
setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.-
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
-
-
-
-
Method Detail
-
hasDeprecated
public boolean hasDeprecated()
Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.
optional bool deprecated = 33 [default = false];
- Specified by:
hasDeprecated
in interfaceDescriptorProtos.MethodOptionsOrBuilder
- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()
Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.
optional bool deprecated = 33 [default = false];
- Specified by:
getDeprecated
in interfaceDescriptorProtos.MethodOptionsOrBuilder
- Returns:
- The deprecated.
-
setDeprecated
public DescriptorProtos.MethodOptions.Builder setDeprecated(boolean value)
Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.
optional bool deprecated = 33 [default = false];
- Parameters:
value
- The deprecated to set.- Returns:
- This builder for chaining.
-
clearDeprecated
public DescriptorProtos.MethodOptions.Builder clearDeprecated()
Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.
optional bool deprecated = 33 [default = false];
- Returns:
- This builder for chaining.
-
hasIdempotencyLevel
public boolean hasIdempotencyLevel()
optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
- Specified by:
hasIdempotencyLevel
in interfaceDescriptorProtos.MethodOptionsOrBuilder
- Returns:
- Whether the idempotencyLevel field is set.
-
getIdempotencyLevel
public DescriptorProtos.MethodOptions.IdempotencyLevel getIdempotencyLevel()
optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
- Specified by:
getIdempotencyLevel
in interfaceDescriptorProtos.MethodOptionsOrBuilder
- Returns:
- The idempotencyLevel.
-
setIdempotencyLevel
public DescriptorProtos.MethodOptions.Builder setIdempotencyLevel(DescriptorProtos.MethodOptions.IdempotencyLevel value)
optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
- Parameters:
value
- The enum numeric value on the wire for idempotencyLevel to set.- Returns:
- This builder for chaining.
-
clearIdempotencyLevel
public DescriptorProtos.MethodOptions.Builder clearIdempotencyLevel()
optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
- Returns:
- This builder for chaining.
-
hasFeatures
public boolean hasFeatures()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 35;
- Specified by:
hasFeatures
in interfaceDescriptorProtos.MethodOptionsOrBuilder
- Returns:
- Whether the features field is set.
-
getFeatures
public DescriptorProtos.FeatureSet getFeatures()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 35;
- Specified by:
getFeatures
in interfaceDescriptorProtos.MethodOptionsOrBuilder
- Returns:
- The features.
-
setFeatures
public DescriptorProtos.MethodOptions.Builder setFeatures(DescriptorProtos.FeatureSet value)
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 35;
-
setFeatures
public DescriptorProtos.MethodOptions.Builder setFeatures(DescriptorProtos.FeatureSet.Builder builderForValue)
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 35;
-
mergeFeatures
public DescriptorProtos.MethodOptions.Builder mergeFeatures(DescriptorProtos.FeatureSet value)
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 35;
-
clearFeatures
public DescriptorProtos.MethodOptions.Builder clearFeatures()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 35;
-
getUninterpretedOptionList
public java.util.List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- Specified by:
getUninterpretedOptionList
in interfaceDescriptorProtos.MethodOptionsOrBuilder
-
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.MethodOptionsOrBuilder
-
getUninterpretedOption
public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- Specified by:
getUninterpretedOption
in interfaceDescriptorProtos.MethodOptionsOrBuilder
-
setUninterpretedOption
public DescriptorProtos.MethodOptions.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.MethodOptions.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.MethodOptions.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.MethodOptions.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.MethodOptions.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.MethodOptions.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.MethodOptions.Builder addAllUninterpretedOption(java.lang.Iterable<? extends DescriptorProtos.UninterpretedOption> values)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
clearUninterpretedOption
public DescriptorProtos.MethodOptions.Builder clearUninterpretedOption()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
removeUninterpretedOption
public DescriptorProtos.MethodOptions.Builder removeUninterpretedOption(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
-