Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Compliant state.Deprecated.No applicable OS policies were found for the instance.Deprecated.Non-compliant stateDeprecated.Default value.Deprecated.Unknown compliance state.Deprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Compliant state.static final intDeprecated.No applicable OS policies were found for the instance.static final intDeprecated.Non-compliant statestatic final intDeprecated.Default value.static final intDeprecated.Unknown compliance state. -
Method Summary
Modifier and TypeMethodDescriptionstatic OSPolicyComplianceStateforNumber(int value) Deprecated.static com.google.protobuf.Descriptors.EnumDescriptorDeprecated.final com.google.protobuf.Descriptors.EnumDescriptorDeprecated.final intDeprecated.final com.google.protobuf.Descriptors.EnumValueDescriptorDeprecated.static com.google.protobuf.Internal.EnumLiteMap<OSPolicyComplianceState>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 OSPolicyComplianceStateDeprecated.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 Details
-
OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED
Deprecated.Default value. This value is unused.
OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED = 0; -
COMPLIANT
Deprecated.Compliant state.
COMPLIANT = 1; -
NON_COMPLIANT
Deprecated.Non-compliant state
NON_COMPLIANT = 2; -
UNKNOWN
Deprecated.Unknown compliance state.
UNKNOWN = 3; -
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
Deprecated.
-
-
Field Details
-
OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED_VALUE
public static final int OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED_VALUEDeprecated.Default value. This value is unused.
OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED = 0;- See Also:
-
COMPLIANT_VALUE
public static final int COMPLIANT_VALUEDeprecated.Compliant state.
COMPLIANT = 1;- See Also:
-
NON_COMPLIANT_VALUE
public static final int NON_COMPLIANT_VALUEDeprecated.Non-compliant state
NON_COMPLIANT = 2;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEDeprecated.Unknown compliance state.
UNKNOWN = 3;- See Also:
-
NO_OS_POLICIES_APPLICABLE_VALUE
public static final int NO_OS_POLICIES_APPLICABLE_VALUEDeprecated.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
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
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.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
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 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
-