Package com.google.protobuf
Interface DescriptorProtos.ServiceOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.ServiceOptions,,DescriptorProtos.ServiceOptions.Builder> com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
DescriptorProtos.ServiceOptions,DescriptorProtos.ServiceOptions.Builder
- Enclosing class:
- DescriptorProtos
public static interface DescriptorProtos.ServiceOptionsOrBuilder
extends com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.ServiceOptions,DescriptorProtos.ServiceOptions.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIs this service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services.Any features defined in the specific edition.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 service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services.booleanAny features defined in the specific edition.Methods inherited from interface com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtensionMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasFeatures
boolean hasFeatures()Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 34 [json_name = "features"];- Returns:
- Whether the features field is set.
-
getFeatures
DescriptorProtos.FeatureSet getFeatures()Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 34 [json_name = "features"];- Returns:
- The features.
-
hasDeprecated
boolean hasDeprecated()Is this service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services.
optional bool deprecated = 33 [default = false, json_name = "deprecated"];- Returns:
- Whether the deprecated field is set.
-
getDeprecated
boolean getDeprecated()Is this service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services.
optional bool deprecated = 33 [default = false, json_name = "deprecated"];- Returns:
- The deprecated.
-
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"];
-