Interface DescriptorProtos.EnumValueOptionsOrBuilder

    • 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.
      • 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.
      • hasFeatureSupport

        boolean hasFeatureSupport()
         Information about the support window of a feature value.
         
        optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
        Returns:
        Whether the featureSupport field is set.
      • getFeatureSupport

        DescriptorProtos.FieldOptions.FeatureSupport getFeatureSupport()
         Information about the support window of a feature value.
         
        optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
        Returns:
        The featureSupport.
      • 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;