Package com.google.protobuf
Interface DescriptorProtos.MethodOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.MethodOptions,,DescriptorProtos.MethodOptions.Builder> com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
DescriptorProtos.MethodOptions,DescriptorProtos.MethodOptions.Builder
- Enclosing class:
- DescriptorProtos
public static interface DescriptorProtos.MethodOptionsOrBuilder
extends com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.MethodOptions,DescriptorProtos.MethodOptions.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIs 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 .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN, json_name = "idempotencyLevel"];getUninterpretedOption(int index) The parser stores options it doesn't recognize here.intThe parser stores options it doesn't recognize here.The parser stores options it doesn't recognize here.booleanIs 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.booleanoptional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN, json_name = "idempotencyLevel"];Methods inherited from interface com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtensionMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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, json_name = "deprecated"];- 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, json_name = "deprecated"];- Returns:
- The deprecated.
-
hasIdempotencyLevel
boolean hasIdempotencyLevel()optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN, json_name = "idempotencyLevel"];- Returns:
- Whether the idempotencyLevel field is set.
-
getIdempotencyLevel
DescriptorProtos.MethodOptions.IdempotencyLevel getIdempotencyLevel()optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN, json_name = "idempotencyLevel"];- Returns:
- The idempotencyLevel.
-
getUninterpretedOptionList
List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"]; -
getUninterpretedOption
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"]; -
getUninterpretedOptionCount
int getUninterpretedOptionCount()The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-