Package com.google.protobuf
Interface DescriptorProtos.MethodOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.MethodOptions>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.MethodOptions,DescriptorProtos.MethodOptions.Builder
- Enclosing class:
- DescriptorProtos
public static interface DescriptorProtos.MethodOptionsOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.MethodOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetDeprecated()Is this method deprecated?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.DescriptorProtos.UninterpretedOptionOrBuildergetUninterpretedOptionOrBuilder(int index)The parser stores options it doesn't recognize here.java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder>getUninterpretedOptionOrBuilderList()The parser stores options it doesn't recognize here.booleanhasDeprecated()Is this method deprecated?booleanhasIdempotencyLevel()optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Method Detail
-
hasDeprecated
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];- Returns:
- Whether the deprecated field is set.
-
getDeprecated
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];- Returns:
- The deprecated.
-
hasIdempotencyLevel
boolean hasIdempotencyLevel()
optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];- Returns:
- Whether the idempotencyLevel field is set.
-
getIdempotencyLevel
DescriptorProtos.MethodOptions.IdempotencyLevel getIdempotencyLevel()
optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];- Returns:
- The idempotencyLevel.
-
getUninterpretedOptionList
java.util.List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOption
DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOptionCount
int getUninterpretedOptionCount()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOptionOrBuilderList
java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOptionOrBuilder
DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
-