Interface DescriptorProtos.EnumValueOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.EnumValueOptions,DescriptorProtos.EnumValueOptions.Builder>, com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
DescriptorProtos.EnumValueOptions, DescriptorProtos.EnumValueOptions.Builder
Enclosing class:
DescriptorProtos

public static interface DescriptorProtos.EnumValueOptionsOrBuilder extends com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.EnumValueOptions,DescriptorProtos.EnumValueOptions.Builder>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g.
    boolean
    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.
    Any features defined in the specific edition.
    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.
    boolean
    Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g.
    boolean
    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.
    boolean
    Any features defined in the specific edition.

    Methods inherited from interface com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder

    getExtension, getExtension, getExtensionCount, hasExtension

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • 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, json_name = "deprecated"];
      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, json_name = "deprecated"];
      Returns:
      The deprecated.
    • hasFeatures

      boolean hasFeatures()
       Any features defined in the specific edition.
       
      optional .google.protobuf.FeatureSet features = 2 [json_name = "features"];
      Returns:
      Whether the features field is set.
    • getFeatures

       Any features defined in the specific edition.
       
      optional .google.protobuf.FeatureSet features = 2 [json_name = "features"];
      Returns:
      The features.
    • 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, json_name = "debugRedact"];
      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, json_name = "debugRedact"];
      Returns:
      The debugRedact.
    • 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

      DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
       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"];