Enum OSPolicyComplianceState

java.lang.Object
java.lang.Enum<OSPolicyComplianceState>
com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<OSPolicyComplianceState>

@Generated @Deprecated public enum OSPolicyComplianceState extends Enum<OSPolicyComplianceState> implements com.google.protobuf.ProtocolMessageEnum
Deprecated.
 Supported OSPolicy compliance states.
 
Protobuf enum google.cloud.osconfig.v1alpha.OSPolicyComplianceState
  • Enum Constant Details

    • OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED

      public static final OSPolicyComplianceState OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED
      Deprecated.
       Default value. This value is unused.
       
      OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED = 0;
    • COMPLIANT

      public static final OSPolicyComplianceState COMPLIANT
      Deprecated.
       Compliant state.
       
      COMPLIANT = 1;
    • NON_COMPLIANT

      public static final OSPolicyComplianceState NON_COMPLIANT
      Deprecated.
       Non-compliant state
       
      NON_COMPLIANT = 2;
    • UNKNOWN

      public static final OSPolicyComplianceState UNKNOWN
      Deprecated.
       Unknown compliance state.
       
      UNKNOWN = 3;
    • NO_OS_POLICIES_APPLICABLE

      public static final OSPolicyComplianceState NO_OS_POLICIES_APPLICABLE
      Deprecated.
       No applicable OS policies were found for the instance.
       This state is only applicable to the instance.
       
      NO_OS_POLICIES_APPLICABLE = 4;
    • UNRECOGNIZED

      public static final OSPolicyComplianceState UNRECOGNIZED
      Deprecated.
  • Field Details

    • OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED_VALUE

      public static final int OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED_VALUE
      Deprecated.
       Default value. This value is unused.
       
      OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED = 0;
      See Also:
    • COMPLIANT_VALUE

      public static final int COMPLIANT_VALUE
      Deprecated.
       Compliant state.
       
      COMPLIANT = 1;
      See Also:
    • NON_COMPLIANT_VALUE

      public static final int NON_COMPLIANT_VALUE
      Deprecated.
       Non-compliant state
       
      NON_COMPLIANT = 2;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
      Deprecated.
       Unknown compliance state.
       
      UNKNOWN = 3;
      See Also:
    • NO_OS_POLICIES_APPLICABLE_VALUE

      public static final int NO_OS_POLICIES_APPLICABLE_VALUE
      Deprecated.
       No applicable OS policies were found for the instance.
       This state is only applicable to the instance.
       
      NO_OS_POLICIES_APPLICABLE = 4;
      See Also:
  • Method Details

    • values

      public static OSPolicyComplianceState[] values()
      Deprecated.
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static OSPolicyComplianceState valueOf(String name)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Deprecated.
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static OSPolicyComplianceState valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static OSPolicyComplianceState forNumber(int value)
      Deprecated.
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<OSPolicyComplianceState> internalGetValueMap()
      Deprecated.
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Deprecated.
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Deprecated.
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      Deprecated.
    • valueOf

      public static OSPolicyComplianceState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null