@Deprecated public final class InstanceOSPoliciesCompliance extends com.google.protobuf.GeneratedMessageV3 implements InstanceOSPoliciesComplianceOrBuilder
This API resource represents the OS policies compliance data for a Compute Engine virtual machine (VM) instance at a given point in time. A Compute Engine VM can have multiple OS policy assignments, and each assignment can have multiple OS policies. As a result, multiple OS policies could be applied to a single VM. You can use this API resource to determine both the compliance state of your VM as well as the compliance state of an individual OS policy. For more information, see [View compliance](https://cloud.google.com/compute/docs/os-configuration-management/view-compliance).Protobuf type
google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance| Modifier and Type | Class and Description |
|---|---|
static class |
InstanceOSPoliciesCompliance.Builder
Deprecated.
This API resource represents the OS policies compliance data for a Compute
Engine virtual machine (VM) instance at a given point in time.
|
static class |
InstanceOSPoliciesCompliance.OSPolicyCompliance
Deprecated.
|
static interface |
InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder
Deprecated.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DETAILED_STATE_FIELD_NUMBER
Deprecated.
|
static int |
DETAILED_STATE_REASON_FIELD_NUMBER
Deprecated.
|
static int |
INSTANCE_FIELD_NUMBER
Deprecated.
|
static int |
LAST_COMPLIANCE_CHECK_TIME_FIELD_NUMBER
Deprecated.
|
static int |
LAST_COMPLIANCE_RUN_ID_FIELD_NUMBER
Deprecated.
|
static int |
NAME_FIELD_NUMBER
Deprecated.
|
static int |
OS_POLICY_COMPLIANCES_FIELD_NUMBER
Deprecated.
|
static int |
STATE_FIELD_NUMBER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deprecated.
|
static InstanceOSPoliciesCompliance |
getDefaultInstance()
Deprecated.
|
InstanceOSPoliciesCompliance |
getDefaultInstanceForType()
Deprecated.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor()
Deprecated.
|
String |
getDetailedState()
Deprecated.
Output only.
|
com.google.protobuf.ByteString |
getDetailedStateBytes()
Deprecated.
Output only.
|
String |
getDetailedStateReason()
Deprecated.
Output only.
|
com.google.protobuf.ByteString |
getDetailedStateReasonBytes()
Deprecated.
Output only.
|
String |
getInstance()
Deprecated.
Output only.
|
com.google.protobuf.ByteString |
getInstanceBytes()
Deprecated.
Output only.
|
com.google.protobuf.Timestamp |
getLastComplianceCheckTime()
Deprecated.
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getLastComplianceCheckTimeOrBuilder()
Deprecated.
Output only.
|
String |
getLastComplianceRunId()
Deprecated.
Output only.
|
com.google.protobuf.ByteString |
getLastComplianceRunIdBytes()
Deprecated.
Output only.
|
String |
getName()
Deprecated.
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Deprecated.
Output only.
|
InstanceOSPoliciesCompliance.OSPolicyCompliance |
getOsPolicyCompliances(int index)
Deprecated.
Output only.
|
int |
getOsPolicyCompliancesCount()
Deprecated.
Output only.
|
List<InstanceOSPoliciesCompliance.OSPolicyCompliance> |
getOsPolicyCompliancesList()
Deprecated.
Output only.
|
InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder |
getOsPolicyCompliancesOrBuilder(int index)
Deprecated.
Output only.
|
List<? extends InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder> |
getOsPolicyCompliancesOrBuilderList()
Deprecated.
Output only.
|
com.google.protobuf.Parser<InstanceOSPoliciesCompliance> |
getParserForType()
Deprecated.
|
int |
getSerializedSize()
Deprecated.
|
OSPolicyComplianceState |
getState()
Deprecated.
Output only.
|
int |
getStateValue()
Deprecated.
Output only.
|
int |
hashCode()
Deprecated.
|
boolean |
hasLastComplianceCheckTime()
Deprecated.
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable()
Deprecated.
|
boolean |
isInitialized()
Deprecated.
|
static InstanceOSPoliciesCompliance.Builder |
newBuilder()
Deprecated.
|
static InstanceOSPoliciesCompliance.Builder |
newBuilder(InstanceOSPoliciesCompliance prototype)
Deprecated.
|
InstanceOSPoliciesCompliance.Builder |
newBuilderForType()
Deprecated.
|
protected InstanceOSPoliciesCompliance.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
Deprecated.
|
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseDelimitedFrom(InputStream input)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseFrom(byte[] data)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseFrom(ByteBuffer data)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseFrom(com.google.protobuf.ByteString data)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseFrom(com.google.protobuf.CodedInputStream input)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseFrom(InputStream input)
Deprecated.
|
static InstanceOSPoliciesCompliance |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static com.google.protobuf.Parser<InstanceOSPoliciesCompliance> |
parser()
Deprecated.
|
InstanceOSPoliciesCompliance.Builder |
toBuilder()
Deprecated.
|
void |
writeTo(com.google.protobuf.CodedOutputStream output)
Deprecated.
|
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int DETAILED_STATE_FIELD_NUMBER
public static final int DETAILED_STATE_REASON_FIELD_NUMBER
public static final int OS_POLICY_COMPLIANCES_FIELD_NUMBER
public static final int LAST_COMPLIANCE_CHECK_TIME_FIELD_NUMBER
public static final int LAST_COMPLIANCE_RUN_ID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. The `InstanceOSPoliciesCompliance` API resource name.
Format:
`projects/{project_number}/locations/{location}/instanceOSPoliciesCompliances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface InstanceOSPoliciesComplianceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The `InstanceOSPoliciesCompliance` API resource name.
Format:
`projects/{project_number}/locations/{location}/instanceOSPoliciesCompliances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface InstanceOSPoliciesComplianceOrBuilderpublic String getInstance()
Output only. The Compute Engine VM instance name.
string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getInstance in interface InstanceOSPoliciesComplianceOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
Output only. The Compute Engine VM instance name.
string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getInstanceBytes in interface InstanceOSPoliciesComplianceOrBuilderpublic int getStateValue()
Output only. Compliance state of the VM.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface InstanceOSPoliciesComplianceOrBuilderpublic OSPolicyComplianceState getState()
Output only. Compliance state of the VM.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface InstanceOSPoliciesComplianceOrBuilderpublic String getDetailedState()
Output only. Detailed compliance state of the VM. This field is populated only when compliance state is `UNKNOWN`. It may contain one of the following values: * `no-compliance-data`: Compliance data is not available for this VM. * `no-agent-detected`: OS Config agent is not detected for this VM. * `config-not-supported-by-agent`: The version of the OS Config agent running on this VM does not support configuration management. * `inactive`: VM is not running. * `internal-service-errors`: There were internal service errors encountered while enforcing compliance. * `agent-errors`: OS config agent encountered errors while enforcing compliance.
string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getDetailedState in interface InstanceOSPoliciesComplianceOrBuilderpublic com.google.protobuf.ByteString getDetailedStateBytes()
Output only. Detailed compliance state of the VM. This field is populated only when compliance state is `UNKNOWN`. It may contain one of the following values: * `no-compliance-data`: Compliance data is not available for this VM. * `no-agent-detected`: OS Config agent is not detected for this VM. * `config-not-supported-by-agent`: The version of the OS Config agent running on this VM does not support configuration management. * `inactive`: VM is not running. * `internal-service-errors`: There were internal service errors encountered while enforcing compliance. * `agent-errors`: OS config agent encountered errors while enforcing compliance.
string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getDetailedStateBytes in interface InstanceOSPoliciesComplianceOrBuilderpublic String getDetailedStateReason()
Output only. The reason for the `detailed_state` of the VM (if any).
string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getDetailedStateReason in interface InstanceOSPoliciesComplianceOrBuilderpublic com.google.protobuf.ByteString getDetailedStateReasonBytes()
Output only. The reason for the `detailed_state` of the VM (if any).
string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getDetailedStateReasonBytes in interface InstanceOSPoliciesComplianceOrBuilderpublic List<InstanceOSPoliciesCompliance.OSPolicyCompliance> getOsPolicyCompliancesList()
Output only. Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOsPolicyCompliancesList in interface InstanceOSPoliciesComplianceOrBuilderpublic List<? extends InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList()
Output only. Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOsPolicyCompliancesOrBuilderList in interface InstanceOSPoliciesComplianceOrBuilderpublic int getOsPolicyCompliancesCount()
Output only. Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOsPolicyCompliancesCount in interface InstanceOSPoliciesComplianceOrBuilderpublic InstanceOSPoliciesCompliance.OSPolicyCompliance getOsPolicyCompliances(int index)
Output only. Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOsPolicyCompliances in interface InstanceOSPoliciesComplianceOrBuilderpublic InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder(int index)
Output only. Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOsPolicyCompliancesOrBuilder in interface InstanceOSPoliciesComplianceOrBuilderpublic boolean hasLastComplianceCheckTime()
Output only. Timestamp of the last compliance check for the VM.
.google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasLastComplianceCheckTime in interface InstanceOSPoliciesComplianceOrBuilderpublic com.google.protobuf.Timestamp getLastComplianceCheckTime()
Output only. Timestamp of the last compliance check for the VM.
.google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastComplianceCheckTime in interface InstanceOSPoliciesComplianceOrBuilderpublic com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilder()
Output only. Timestamp of the last compliance check for the VM.
.google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastComplianceCheckTimeOrBuilder in interface InstanceOSPoliciesComplianceOrBuilderpublic String getLastComplianceRunId()
Output only. Unique identifier for the last compliance run. This id will be logged by the OS config agent during a compliance run and can be used for debugging and tracing purpose.
string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getLastComplianceRunId in interface InstanceOSPoliciesComplianceOrBuilderpublic com.google.protobuf.ByteString getLastComplianceRunIdBytes()
Output only. Unique identifier for the last compliance run. This id will be logged by the OS config agent during a compliance run and can be used for debugging and tracing purpose.
string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getLastComplianceRunIdBytes in interface InstanceOSPoliciesComplianceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static InstanceOSPoliciesCompliance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceOSPoliciesCompliance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceOSPoliciesCompliance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceOSPoliciesCompliance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceOSPoliciesCompliance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceOSPoliciesCompliance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceOSPoliciesCompliance parseFrom(InputStream input) throws IOException
IOExceptionpublic static InstanceOSPoliciesCompliance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InstanceOSPoliciesCompliance parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static InstanceOSPoliciesCompliance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InstanceOSPoliciesCompliance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static InstanceOSPoliciesCompliance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic InstanceOSPoliciesCompliance.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static InstanceOSPoliciesCompliance.Builder newBuilder()
public static InstanceOSPoliciesCompliance.Builder newBuilder(InstanceOSPoliciesCompliance prototype)
public InstanceOSPoliciesCompliance.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected InstanceOSPoliciesCompliance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static InstanceOSPoliciesCompliance getDefaultInstance()
public static com.google.protobuf.Parser<InstanceOSPoliciesCompliance> parser()
public com.google.protobuf.Parser<InstanceOSPoliciesCompliance> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public InstanceOSPoliciesCompliance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.