@Deprecated public enum OSPolicyComplianceState extends Enum<OSPolicyComplianceState> implements com.google.protobuf.ProtocolMessageEnum
Supported OSPolicy compliance states.Protobuf enum
google.cloud.osconfig.v1alpha.OSPolicyComplianceState| Enum Constant and Description |
|---|
COMPLIANT
Deprecated.
Compliant state.
|
NO_OS_POLICIES_APPLICABLE
Deprecated.
No applicable OS policies were found for the instance.
|
NON_COMPLIANT
Deprecated.
Non-compliant state
|
OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED
Deprecated.
Default value.
|
UNKNOWN
Deprecated.
Unknown compliance state.
|
UNRECOGNIZED
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPLIANT_VALUE
Deprecated.
Compliant state.
|
static int |
NO_OS_POLICIES_APPLICABLE_VALUE
Deprecated.
No applicable OS policies were found for the instance.
|
static int |
NON_COMPLIANT_VALUE
Deprecated.
Non-compliant state
|
static int |
OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED_VALUE
Deprecated.
Default value.
|
static int |
UNKNOWN_VALUE
Deprecated.
Unknown compliance state.
|
| Modifier and Type | Method and Description |
|---|---|
static OSPolicyComplianceState |
forNumber(int value)
Deprecated.
|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor()
Deprecated.
|
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType()
Deprecated.
|
int |
getNumber()
Deprecated.
|
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor()
Deprecated.
|
static com.google.protobuf.Internal.EnumLiteMap<OSPolicyComplianceState> |
internalGetValueMap()
Deprecated.
|
static OSPolicyComplianceState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Deprecated.
|
static OSPolicyComplianceState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OSPolicyComplianceState |
valueOf(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.
|
public static final OSPolicyComplianceState OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED
Default value. This value is unused.
OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED = 0;public static final OSPolicyComplianceState COMPLIANT
Compliant state.
COMPLIANT = 1;public static final OSPolicyComplianceState NON_COMPLIANT
Non-compliant state
NON_COMPLIANT = 2;public static final OSPolicyComplianceState UNKNOWN
Unknown compliance state.
UNKNOWN = 3;public static final OSPolicyComplianceState NO_OS_POLICIES_APPLICABLE
No applicable OS policies were found for the instance. This state is only applicable to the instance.
NO_OS_POLICIES_APPLICABLE = 4;public static final OSPolicyComplianceState UNRECOGNIZED
public static final int OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED_VALUE
Default value. This value is unused.
OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED = 0;public static final int COMPLIANT_VALUE
Compliant state.
COMPLIANT = 1;public static final int NON_COMPLIANT_VALUE
Non-compliant state
NON_COMPLIANT = 2;public static final int UNKNOWN_VALUE
Unknown compliance state.
UNKNOWN = 3;public static final int NO_OS_POLICIES_APPLICABLE_VALUE
No applicable OS policies were found for the instance. This state is only applicable to the instance.
NO_OS_POLICIES_APPLICABLE = 4;public static OSPolicyComplianceState[] values()
for (OSPolicyComplianceState c : OSPolicyComplianceState.values()) System.out.println(c);
public static OSPolicyComplianceState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static OSPolicyComplianceState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static OSPolicyComplianceState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<OSPolicyComplianceState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OSPolicyComplianceState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.