Package com.google.protobuf
Interface DescriptorProtos.ServiceOptionsOrBuilder
- All Superinterfaces:
GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.ServiceOptions>
,MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.ServiceOptions
,DescriptorProtos.ServiceOptions.Builder
- Enclosing class:
DescriptorProtos
public static interface DescriptorProtos.ServiceOptionsOrBuilder
extends GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.ServiceOptions>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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.Any features defined in the specific edition.Any features defined in the specific edition.getUninterpretedOption
(int index) The parser stores options it doesn't recognize here.int
The parser stores options it doesn't recognize here.The parser stores options it doesn't recognize here.getUninterpretedOptionOrBuilder
(int index) The parser stores options it doesn't recognize here.The parser stores options it doesn't recognize here.boolean
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.boolean
Any features defined in the specific edition.Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtensionCount, hasExtension
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasFeatures
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 = 34;
- Returns:
- Whether the features field is set.
-
getFeatures
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 = 34;
- Returns:
- The features.
-
getFeaturesOrBuilder
DescriptorProtos.FeatureSetOrBuilder getFeaturesOrBuilder()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 = 34;
-
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];
- 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];
- 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;
-
getUninterpretedOption
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
List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOptionOrBuilder
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-