Class InstanceOSPoliciesCompliance
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance
- All Implemented Interfaces:
InstanceOSPoliciesComplianceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
@Deprecated
public final class InstanceOSPoliciesCompliance
extends com.google.protobuf.GeneratedMessage
implements InstanceOSPoliciesComplianceOrBuilder
Deprecated.
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.This API resource represents the OS policies compliance data for a Compute Engine virtual machine (VM) instance at a given point in time.static final classDeprecated.static interfaceDeprecated.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.static InstanceOSPoliciesComplianceDeprecated.Deprecated.static final com.google.protobuf.Descriptors.DescriptorDeprecated.Deprecated.Output only.com.google.protobuf.ByteStringDeprecated.Output only.Deprecated.Output only.com.google.protobuf.ByteStringDeprecated.Output only.Deprecated.Output only.com.google.protobuf.ByteStringDeprecated.Output only.com.google.protobuf.TimestampDeprecated.Output only.com.google.protobuf.TimestampOrBuilderDeprecated.Output only.Deprecated.Output only.com.google.protobuf.ByteStringDeprecated.Output only.getName()Deprecated.Output only.com.google.protobuf.ByteStringDeprecated.Output only.getOsPolicyCompliances(int index) Deprecated.Output only.intDeprecated.Output only.Deprecated.Output only.getOsPolicyCompliancesOrBuilder(int index) Deprecated.Output only.Deprecated.Output only.com.google.protobuf.Parser<InstanceOSPoliciesCompliance>Deprecated.intDeprecated.getState()Deprecated.Output only.intDeprecated.Output only.inthashCode()Deprecated.booleanDeprecated.Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableDeprecated.final booleanDeprecated.Deprecated.newBuilder(InstanceOSPoliciesCompliance prototype) Deprecated.Deprecated.protected InstanceOSPoliciesCompliance.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Deprecated.static InstanceOSPoliciesComplianceparseDelimitedFrom(InputStream input) Deprecated.static InstanceOSPoliciesComplianceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static InstanceOSPoliciesComplianceparseFrom(byte[] data) Deprecated.static InstanceOSPoliciesComplianceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static InstanceOSPoliciesComplianceparseFrom(com.google.protobuf.ByteString data) Deprecated.static InstanceOSPoliciesComplianceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static InstanceOSPoliciesComplianceparseFrom(com.google.protobuf.CodedInputStream input) Deprecated.static InstanceOSPoliciesComplianceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static InstanceOSPoliciesComplianceparseFrom(InputStream input) Deprecated.static InstanceOSPoliciesComplianceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static InstanceOSPoliciesComplianceparseFrom(ByteBuffer data) Deprecated.static InstanceOSPoliciesComplianceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static com.google.protobuf.Parser<InstanceOSPoliciesCompliance>parser()Deprecated.Deprecated.voidwriteTo(com.google.protobuf.CodedOutputStream output) Deprecated.Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBERDeprecated.- See Also:
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBERDeprecated.- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBERDeprecated.- See Also:
-
DETAILED_STATE_FIELD_NUMBER
public static final int DETAILED_STATE_FIELD_NUMBERDeprecated.- See Also:
-
DETAILED_STATE_REASON_FIELD_NUMBER
public static final int DETAILED_STATE_REASON_FIELD_NUMBERDeprecated.- See Also:
-
OS_POLICY_COMPLIANCES_FIELD_NUMBER
public static final int OS_POLICY_COMPLIANCES_FIELD_NUMBERDeprecated.- See Also:
-
LAST_COMPLIANCE_CHECK_TIME_FIELD_NUMBER
public static final int LAST_COMPLIANCE_CHECK_TIME_FIELD_NUMBERDeprecated.- See Also:
-
LAST_COMPLIANCE_RUN_ID_FIELD_NUMBER
public static final int LAST_COMPLIANCE_RUN_ID_FIELD_NUMBERDeprecated.- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()Deprecated. -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()Deprecated.- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Deprecated.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];- Specified by:
getNamein interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Deprecated.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];- Specified by:
getNameBytesin interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The bytes for name.
-
getInstance
Deprecated.Output only. The Compute Engine VM instance name.
string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInstancein interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Deprecated.Output only. The Compute Engine VM instance name.
string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInstanceBytesin interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The bytes for instance.
-
getStateValue
public int getStateValue()Deprecated.Output only. Compliance state of the VM.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Deprecated.Output only. Compliance state of the VM.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The state.
-
getDetailedState
Deprecated.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];- Specified by:
getDetailedStatein interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The detailedState.
-
getDetailedStateBytes
public com.google.protobuf.ByteString getDetailedStateBytes()Deprecated.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];- Specified by:
getDetailedStateBytesin interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The bytes for detailedState.
-
getDetailedStateReason
Deprecated.Output only. The reason for the `detailed_state` of the VM (if any).
string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDetailedStateReasonin interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The detailedStateReason.
-
getDetailedStateReasonBytes
public com.google.protobuf.ByteString getDetailedStateReasonBytes()Deprecated.Output only. The reason for the `detailed_state` of the VM (if any).
string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDetailedStateReasonBytesin interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The bytes for detailedStateReason.
-
getOsPolicyCompliancesList
Deprecated.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];- Specified by:
getOsPolicyCompliancesListin interfaceInstanceOSPoliciesComplianceOrBuilder
-
getOsPolicyCompliancesOrBuilderList
public List<? extends InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList()Deprecated.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];- Specified by:
getOsPolicyCompliancesOrBuilderListin interfaceInstanceOSPoliciesComplianceOrBuilder
-
getOsPolicyCompliancesCount
public int getOsPolicyCompliancesCount()Deprecated.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];- Specified by:
getOsPolicyCompliancesCountin interfaceInstanceOSPoliciesComplianceOrBuilder
-
getOsPolicyCompliances
Deprecated.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];- Specified by:
getOsPolicyCompliancesin interfaceInstanceOSPoliciesComplianceOrBuilder
-
getOsPolicyCompliancesOrBuilder
public InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder(int index) Deprecated.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];- Specified by:
getOsPolicyCompliancesOrBuilderin interfaceInstanceOSPoliciesComplianceOrBuilder
-
hasLastComplianceCheckTime
public boolean hasLastComplianceCheckTime()Deprecated.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];- Specified by:
hasLastComplianceCheckTimein interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- Whether the lastComplianceCheckTime field is set.
-
getLastComplianceCheckTime
public com.google.protobuf.Timestamp getLastComplianceCheckTime()Deprecated.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];- Specified by:
getLastComplianceCheckTimein interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The lastComplianceCheckTime.
-
getLastComplianceCheckTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilder()Deprecated.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];- Specified by:
getLastComplianceCheckTimeOrBuilderin interfaceInstanceOSPoliciesComplianceOrBuilder
-
getLastComplianceRunId
Deprecated.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];- Specified by:
getLastComplianceRunIdin interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The lastComplianceRunId.
-
getLastComplianceRunIdBytes
public com.google.protobuf.ByteString getLastComplianceRunIdBytes()Deprecated.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];- Specified by:
getLastComplianceRunIdBytesin interfaceInstanceOSPoliciesComplianceOrBuilder- Returns:
- The bytes for lastComplianceRunId.
-
isInitialized
public final boolean isInitialized()Deprecated.- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
Deprecated.- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()Deprecated.- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
Deprecated.- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()Deprecated.- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InstanceOSPoliciesCompliance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceOSPoliciesCompliance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceOSPoliciesCompliance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceOSPoliciesCompliance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceOSPoliciesCompliance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceOSPoliciesCompliance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
Deprecated.- Throws:
IOException
-
parseFrom
public static InstanceOSPoliciesCompliance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException Deprecated.- Throws:
IOException
-
parseDelimitedFrom
Deprecated.- Throws:
IOException
-
parseDelimitedFrom
public static InstanceOSPoliciesCompliance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException Deprecated.- Throws:
IOException
-
parseFrom
public static InstanceOSPoliciesCompliance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException Deprecated.- Throws:
IOException
-
parseFrom
public static InstanceOSPoliciesCompliance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException Deprecated.- Throws:
IOException
-
newBuilderForType
Deprecated.- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
Deprecated. -
newBuilder
public static InstanceOSPoliciesCompliance.Builder newBuilder(InstanceOSPoliciesCompliance prototype) Deprecated. -
toBuilder
Deprecated.- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InstanceOSPoliciesCompliance.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Deprecated.- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
Deprecated. -
parser
Deprecated. -
getParserForType
Deprecated.- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
Deprecated.- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-