Class OSPolicyAssignmentReport
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport
-
- All Implemented Interfaces:
OSPolicyAssignmentReportOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class OSPolicyAssignmentReport extends com.google.protobuf.GeneratedMessageV3 implements OSPolicyAssignmentReportOrBuilder
A report of the OS policy assignment status for a given instance.
Protobuf typegoogle.cloud.osconfig.v1alpha.OSPolicyAssignmentReport- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOSPolicyAssignmentReport.BuilderA report of the OS policy assignment status for a given instance.static classOSPolicyAssignmentReport.OSPolicyComplianceCompliance data for an OS policystatic interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intINSTANCE_FIELD_NUMBERstatic intLAST_RUN_ID_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOS_POLICY_ASSIGNMENT_FIELD_NUMBERstatic intOS_POLICY_COMPLIANCES_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static OSPolicyAssignmentReportgetDefaultInstance()OSPolicyAssignmentReportgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetInstance()The Compute Engine VM instance name.com.google.protobuf.ByteStringgetInstanceBytes()The Compute Engine VM instance name.StringgetLastRunId()Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.com.google.protobuf.ByteStringgetLastRunIdBytes()Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.StringgetName()The `OSPolicyAssignmentReport` API resource name.com.google.protobuf.ByteStringgetNameBytes()The `OSPolicyAssignmentReport` API resource name.StringgetOsPolicyAssignment()Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.com.google.protobuf.ByteStringgetOsPolicyAssignmentBytes()Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.OSPolicyAssignmentReport.OSPolicyCompliancegetOsPolicyCompliances(int index)Compliance data for each `OSPolicy` that is applied to the VM.intgetOsPolicyCompliancesCount()Compliance data for each `OSPolicy` that is applied to the VM.List<OSPolicyAssignmentReport.OSPolicyCompliance>getOsPolicyCompliancesList()Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.OSPolicyComplianceOrBuildergetOsPolicyCompliancesOrBuilder(int index)Compliance data for each `OSPolicy` that is applied to the VM.List<? extends OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder>getOsPolicyCompliancesOrBuilderList()Compliance data for each `OSPolicy` that is applied to the VM.com.google.protobuf.Parser<OSPolicyAssignmentReport>getParserForType()intgetSerializedSize()com.google.protobuf.TimestampgetUpdateTime()Timestamp for when the report was last generated.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Timestamp for when the report was last generated.inthashCode()booleanhasUpdateTime()Timestamp for when the report was last generated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OSPolicyAssignmentReport.BuildernewBuilder()static OSPolicyAssignmentReport.BuildernewBuilder(OSPolicyAssignmentReport prototype)OSPolicyAssignmentReport.BuildernewBuilderForType()protected OSPolicyAssignmentReport.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OSPolicyAssignmentReportparseDelimitedFrom(InputStream input)static OSPolicyAssignmentReportparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OSPolicyAssignmentReportparseFrom(byte[] data)static OSPolicyAssignmentReportparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OSPolicyAssignmentReportparseFrom(com.google.protobuf.ByteString data)static OSPolicyAssignmentReportparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OSPolicyAssignmentReportparseFrom(com.google.protobuf.CodedInputStream input)static OSPolicyAssignmentReportparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OSPolicyAssignmentReportparseFrom(InputStream input)static OSPolicyAssignmentReportparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OSPolicyAssignmentReportparseFrom(ByteBuffer data)static OSPolicyAssignmentReportparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OSPolicyAssignmentReport>parser()OSPolicyAssignmentReport.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OS_POLICY_ASSIGNMENT_FIELD_NUMBER
public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OS_POLICY_COMPLIANCES_FIELD_NUMBER
public static final int OS_POLICY_COMPLIANCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_RUN_ID_FIELD_NUMBER
public static final int LAST_RUN_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
The `OSPolicyAssignmentReport` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report`string name = 1;- Specified by:
getNamein interfaceOSPolicyAssignmentReportOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The `OSPolicyAssignmentReport` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report`string name = 1;- Specified by:
getNameBytesin interfaceOSPolicyAssignmentReportOrBuilder- Returns:
- The bytes for name.
-
getInstance
public String getInstance()
The Compute Engine VM instance name.
string instance = 2;- Specified by:
getInstancein interfaceOSPolicyAssignmentReportOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
The Compute Engine VM instance name.
string instance = 2;- Specified by:
getInstanceBytesin interfaceOSPolicyAssignmentReportOrBuilder- Returns:
- The bytes for instance.
-
getOsPolicyAssignment
public String getOsPolicyAssignment()
Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}`string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getOsPolicyAssignmentin interfaceOSPolicyAssignmentReportOrBuilder- Returns:
- The osPolicyAssignment.
-
getOsPolicyAssignmentBytes
public com.google.protobuf.ByteString getOsPolicyAssignmentBytes()
Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}`string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getOsPolicyAssignmentBytesin interfaceOSPolicyAssignmentReportOrBuilder- Returns:
- The bytes for osPolicyAssignment.
-
getOsPolicyCompliancesList
public List<OSPolicyAssignmentReport.OSPolicyCompliance> getOsPolicyCompliancesList()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;- Specified by:
getOsPolicyCompliancesListin interfaceOSPolicyAssignmentReportOrBuilder
-
getOsPolicyCompliancesOrBuilderList
public List<? extends OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;- Specified by:
getOsPolicyCompliancesOrBuilderListin interfaceOSPolicyAssignmentReportOrBuilder
-
getOsPolicyCompliancesCount
public int getOsPolicyCompliancesCount()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;- Specified by:
getOsPolicyCompliancesCountin interfaceOSPolicyAssignmentReportOrBuilder
-
getOsPolicyCompliances
public OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;- Specified by:
getOsPolicyCompliancesin interfaceOSPolicyAssignmentReportOrBuilder
-
getOsPolicyCompliancesOrBuilder
public OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder(int index)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;- Specified by:
getOsPolicyCompliancesOrBuilderin interfaceOSPolicyAssignmentReportOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;- Specified by:
hasUpdateTimein interfaceOSPolicyAssignmentReportOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;- Specified by:
getUpdateTimein interfaceOSPolicyAssignmentReportOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;- Specified by:
getUpdateTimeOrBuilderin interfaceOSPolicyAssignmentReportOrBuilder
-
getLastRunId
public String getLastRunId()
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
string last_run_id = 6;- Specified by:
getLastRunIdin interfaceOSPolicyAssignmentReportOrBuilder- Returns:
- The lastRunId.
-
getLastRunIdBytes
public com.google.protobuf.ByteString getLastRunIdBytes()
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
string last_run_id = 6;- Specified by:
getLastRunIdBytesin interfaceOSPolicyAssignmentReportOrBuilder- Returns:
- The bytes for lastRunId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OSPolicyAssignmentReport parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignmentReport parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignmentReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignmentReport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignmentReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignmentReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignmentReport parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OSPolicyAssignmentReport parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OSPolicyAssignmentReport parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OSPolicyAssignmentReport parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OSPolicyAssignmentReport parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OSPolicyAssignmentReport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OSPolicyAssignmentReport.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OSPolicyAssignmentReport.Builder newBuilder()
-
newBuilder
public static OSPolicyAssignmentReport.Builder newBuilder(OSPolicyAssignmentReport prototype)
-
toBuilder
public OSPolicyAssignmentReport.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OSPolicyAssignmentReport.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OSPolicyAssignmentReport getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OSPolicyAssignmentReport> parser()
-
getParserForType
public com.google.protobuf.Parser<OSPolicyAssignmentReport> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OSPolicyAssignmentReport getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-