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 privateBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.MethodOptions.BuilderaddAllUninterpretedOption(java.lang.Iterable<? extends DescriptorProtos.UninterpretedOption> values)The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.BuilderaddUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.BuilderaddUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.BuilderaddUninterpretedOption(DescriptorProtos.UninterpretedOption value)The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.BuilderaddUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue)The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.BuilderclearDeprecated()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.BuilderclearFeatures()Any features defined in the specific edition.DescriptorProtos.MethodOptions.BuilderclearIdempotencyLevel()optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];DescriptorProtos.MethodOptions.BuilderclearUninterpretedOption()The parser stores options it doesn't recognize here.booleangetDeprecated()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.FeatureSetgetFeatures()Any features defined in the specific edition.DescriptorProtos.MethodOptions.IdempotencyLevelgetIdempotencyLevel()optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];DescriptorProtos.UninterpretedOptiongetUninterpretedOption(int index)The parser stores options it doesn't recognize here.intgetUninterpretedOptionCount()The parser stores options it doesn't recognize here.java.util.List<DescriptorProtos.UninterpretedOption>getUninterpretedOptionList()The parser stores options it doesn't recognize here.booleanhasDeprecated()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.booleanhasFeatures()Any features defined in the specific edition.booleanhasIdempotencyLevel()optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];DescriptorProtos.MethodOptions.BuildermergeFeatures(DescriptorProtos.FeatureSet value)Any features defined in the specific edition.DescriptorProtos.MethodOptions.BuilderremoveUninterpretedOption(int index)The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.BuildersetDeprecated(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.BuildersetFeatures(DescriptorProtos.FeatureSet value)Any features defined in the specific edition.DescriptorProtos.MethodOptions.BuildersetFeatures(DescriptorProtos.FeatureSet.Builder builderForValue)Any features defined in the specific edition.DescriptorProtos.MethodOptions.BuildersetIdempotencyLevel(DescriptorProtos.MethodOptions.IdempotencyLevel value)optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];DescriptorProtos.MethodOptions.BuildersetUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)The parser stores options it doesn't recognize here.DescriptorProtos.MethodOptions.BuildersetUninterpretedOption(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:
hasDeprecatedin 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:
getDeprecatedin 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:
hasIdempotencyLevelin 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:
getIdempotencyLevelin 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. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 35;- Specified by:
hasFeaturesin interfaceDescriptorProtos.MethodOptionsOrBuilder- Returns:
- Whether the features field is set.
-
getFeatures
public DescriptorProtos.FeatureSet getFeatures()
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 35;- Specified by:
getFeaturesin interfaceDescriptorProtos.MethodOptionsOrBuilder- Returns:
- The features.
-
setFeatures
public DescriptorProtos.MethodOptions.Builder setFeatures(DescriptorProtos.FeatureSet value)
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 35;
-
setFeatures
public DescriptorProtos.MethodOptions.Builder setFeatures(DescriptorProtos.FeatureSet.Builder builderForValue)
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 35;
-
mergeFeatures
public DescriptorProtos.MethodOptions.Builder mergeFeatures(DescriptorProtos.FeatureSet value)
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
optional .google.protobuf.FeatureSet features = 35;
-
clearFeatures
public DescriptorProtos.MethodOptions.Builder clearFeatures()
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
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:
getUninterpretedOptionListin 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:
getUninterpretedOptionCountin 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:
getUninterpretedOptionin 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;
-
-