Package com.google.protobuf
Interface DescriptorProtos.EnumValueOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.EnumValueOptions>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.EnumValueOptions,DescriptorProtos.EnumValueOptions.Builder
- Enclosing class:
- DescriptorProtos
public static interface DescriptorProtos.EnumValueOptionsOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.EnumValueOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetDebugRedact()Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g.booleangetDeprecated()Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.DescriptorProtos.FeatureSetgetFeatures()Any features defined in the specific edition.DescriptorProtos.FeatureSetOrBuildergetFeaturesOrBuilder()Any features defined in the specific edition.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.booleanhasDebugRedact()Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g.booleanhasDeprecated()Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.booleanhasFeatures()Any features defined in the specific edition.-
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 enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
optional bool deprecated = 1 [default = false];- Returns:
- Whether the deprecated field is set.
-
getDeprecated
boolean getDeprecated()
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
optional bool deprecated = 1 [default = false];- Returns:
- The deprecated.
-
hasFeatures
boolean hasFeatures()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;- Returns:
- Whether the features field is set.
-
getFeatures
DescriptorProtos.FeatureSet getFeatures()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;- Returns:
- The features.
-
getFeaturesOrBuilder
DescriptorProtos.FeatureSetOrBuilder getFeaturesOrBuilder()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 2;
-
hasDebugRedact
boolean hasDebugRedact()
Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.
optional bool debug_redact = 3 [default = false];- Returns:
- Whether the debugRedact field is set.
-
getDebugRedact
boolean getDebugRedact()
Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.
optional bool debug_redact = 3 [default = false];- Returns:
- The debugRedact.
-
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;
-
-