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>
@Deprecated public enum OSPolicyComplianceState extends Enum<OSPolicyComplianceState> implements com.google.protobuf.ProtocolMessageEnum
Deprecated.Supported OSPolicy compliance states.
Protobuf enumgoogle.cloud.osconfig.v1alpha.OSPolicyComplianceState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLIANTDeprecated.Compliant state.NO_OS_POLICIES_APPLICABLEDeprecated.No applicable OS policies were found for the instance.NON_COMPLIANTDeprecated.Non-compliant stateOS_POLICY_COMPLIANCE_STATE_UNSPECIFIEDDeprecated.Default value.UNKNOWNDeprecated.Unknown compliance state.UNRECOGNIZEDDeprecated.
-
Field Summary
Fields Modifier and Type Field Description static intCOMPLIANT_VALUEDeprecated.Compliant state.static intNO_OS_POLICIES_APPLICABLE_VALUEDeprecated.No applicable OS policies were found for the instance.static intNON_COMPLIANT_VALUEDeprecated.Non-compliant statestatic intOS_POLICY_COMPLIANCE_STATE_UNSPECIFIED_VALUEDeprecated.Default value.static intUNKNOWN_VALUEDeprecated.Unknown compliance state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OSPolicyComplianceStateforNumber(int value)Deprecated.static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()Deprecated.com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()Deprecated.intgetNumber()Deprecated.com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()Deprecated.static com.google.protobuf.Internal.EnumLiteMap<OSPolicyComplianceState>internalGetValueMap()Deprecated.static OSPolicyComplianceStatevalueOf(int value)Deprecated.static OSPolicyComplianceStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Deprecated.Returns the enum constant of this type with the specified name.static OSPolicyComplianceStatevalueOf(String name)Deprecated.Returns the enum constant of this type with the specified name.static OSPolicyComplianceState[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
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:
- Constant Field Values
-
COMPLIANT_VALUE
public static final int COMPLIANT_VALUE
Deprecated.Compliant state.
COMPLIANT = 1;- See Also:
- Constant Field Values
-
NON_COMPLIANT_VALUE
public static final int NON_COMPLIANT_VALUE
Deprecated.Non-compliant state
NON_COMPLIANT = 2;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
Deprecated.Unknown compliance state.
UNKNOWN = 3;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
values
public static OSPolicyComplianceState[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OSPolicyComplianceState c : OSPolicyComplianceState.values()) System.out.println(c);
- 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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
Deprecated.- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.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 nameNullPointerException- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
Deprecated.- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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 nameNullPointerException- if the argument is null
-
-