Class OSPolicyAssignmentReport
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class OSPolicyAssignmentReport
extends com.google.protobuf.GeneratedMessage
implements OSPolicyAssignmentReportOrBuilder
A report of the OS policy assignment status for a given instance.Protobuf type
google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA report of the OS policy assignment status for a given instance.static final classCompliance data for an OS policystatic interfaceNested 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 intstatic final intstatic final intstatic final intstatic final intstatic final intFields 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 TypeMethodDescriptionbooleanstatic OSPolicyAssignmentReportstatic final com.google.protobuf.Descriptors.DescriptorThe Compute Engine VM instance name.com.google.protobuf.ByteStringThe Compute Engine VM instance name.Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.com.google.protobuf.ByteStringUnique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.getName()The `OSPolicyAssignmentReport` API resource name.com.google.protobuf.ByteStringThe `OSPolicyAssignmentReport` API resource name.Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.com.google.protobuf.ByteStringReference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.getOsPolicyCompliances(int index) Compliance data for each `OSPolicy` that is applied to the VM.intCompliance data for each `OSPolicy` that is applied to the VM.Compliance data for each `OSPolicy` that is applied to the VM.getOsPolicyCompliancesOrBuilder(int index) Compliance data for each `OSPolicy` that is applied to the VM.Compliance data for each `OSPolicy` that is applied to the VM.com.google.protobuf.Parser<OSPolicyAssignmentReport>intcom.google.protobuf.TimestampTimestamp for when the report was last generated.com.google.protobuf.TimestampOrBuilderTimestamp for when the report was last generated.inthashCode()booleanTimestamp for when the report was last generated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(OSPolicyAssignmentReport prototype) protected OSPolicyAssignmentReport.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) 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_NUMBER- See Also:
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER- See Also:
-
OS_POLICY_ASSIGNMENT_FIELD_NUMBER
public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER- See Also:
-
OS_POLICY_COMPLIANCES_FIELD_NUMBER
public static final int OS_POLICY_COMPLIANCES_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
LAST_RUN_ID_FIELD_NUMBER
public static final int LAST_RUN_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
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
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
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static OSPolicyAssignmentReport parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OSPolicyAssignmentReport.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-