Package com.google.cloud.osconfig.v1
Class OSPolicyAssignmentReport.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
- com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder
-
- All Implemented Interfaces:
OSPolicyAssignmentReportOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OSPolicyAssignmentReport
public static final class OSPolicyAssignmentReport.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder> implements OSPolicyAssignmentReportOrBuilder
A report of the OS policy assignment status for a given instance.
Protobuf typegoogle.cloud.osconfig.v1.OSPolicyAssignmentReport
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OSPolicyAssignmentReport.BuilderaddAllOsPolicyCompliances(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance> values)Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.BuilderaddOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.BuilderaddOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.BuilderaddOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance value)Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.BuilderaddOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.OSPolicyCompliance.BuilderaddOsPolicyCompliancesBuilder()Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.OSPolicyCompliance.BuilderaddOsPolicyCompliancesBuilder(int index)Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OSPolicyAssignmentReportbuild()OSPolicyAssignmentReportbuildPartial()OSPolicyAssignmentReport.Builderclear()OSPolicyAssignmentReport.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)OSPolicyAssignmentReport.BuilderclearInstance()The Compute Engine VM instance name.OSPolicyAssignmentReport.BuilderclearLastRunId()Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.OSPolicyAssignmentReport.BuilderclearName()The `OSPolicyAssignmentReport` API resource name.OSPolicyAssignmentReport.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)OSPolicyAssignmentReport.BuilderclearOsPolicyAssignment()Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.OSPolicyAssignmentReport.BuilderclearOsPolicyCompliances()Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.BuilderclearUpdateTime()Timestamp for when the report was last generated.OSPolicyAssignmentReport.Builderclone()OSPolicyAssignmentReportgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.OSPolicyAssignmentReport.OSPolicyCompliance.BuildergetOsPolicyCompliancesBuilder(int index)Compliance data for each `OSPolicy` that is applied to the VM.List<OSPolicyAssignmentReport.OSPolicyCompliance.Builder>getOsPolicyCompliancesBuilderList()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.TimestampgetUpdateTime()Timestamp for when the report was last generated.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Timestamp for when the report was last generated.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Timestamp for when the report was last generated.booleanhasUpdateTime()Timestamp for when the report was last generated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OSPolicyAssignmentReport.BuildermergeFrom(OSPolicyAssignmentReport other)OSPolicyAssignmentReport.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)OSPolicyAssignmentReport.BuildermergeFrom(com.google.protobuf.Message other)OSPolicyAssignmentReport.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OSPolicyAssignmentReport.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Timestamp for when the report was last generated.OSPolicyAssignmentReport.BuilderremoveOsPolicyCompliances(int index)Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OSPolicyAssignmentReport.BuildersetInstance(String value)The Compute Engine VM instance name.OSPolicyAssignmentReport.BuildersetInstanceBytes(com.google.protobuf.ByteString value)The Compute Engine VM instance name.OSPolicyAssignmentReport.BuildersetLastRunId(String value)Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.OSPolicyAssignmentReport.BuildersetLastRunIdBytes(com.google.protobuf.ByteString value)Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.OSPolicyAssignmentReport.BuildersetName(String value)The `OSPolicyAssignmentReport` API resource name.OSPolicyAssignmentReport.BuildersetNameBytes(com.google.protobuf.ByteString value)The `OSPolicyAssignmentReport` API resource name.OSPolicyAssignmentReport.BuildersetOsPolicyAssignment(String value)Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.OSPolicyAssignmentReport.BuildersetOsPolicyAssignmentBytes(com.google.protobuf.ByteString value)Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.OSPolicyAssignmentReport.BuildersetOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.BuildersetOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OSPolicyAssignmentReport.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OSPolicyAssignmentReport.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Timestamp for when the report was last generated.OSPolicyAssignmentReport.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Timestamp for when the report was last generated.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<OSPolicyAssignmentReport.Builder>
-
clear
public OSPolicyAssignmentReport.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
getDefaultInstanceForType
public OSPolicyAssignmentReport getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public OSPolicyAssignmentReport build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OSPolicyAssignmentReport buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OSPolicyAssignmentReport.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
setField
public OSPolicyAssignmentReport.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
clearField
public OSPolicyAssignmentReport.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
clearOneof
public OSPolicyAssignmentReport.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
setRepeatedField
public OSPolicyAssignmentReport.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
addRepeatedField
public OSPolicyAssignmentReport.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
mergeFrom
public OSPolicyAssignmentReport.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSPolicyAssignmentReport.Builder>
-
mergeFrom
public OSPolicyAssignmentReport.Builder mergeFrom(OSPolicyAssignmentReport other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
mergeFrom
public OSPolicyAssignmentReport.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSPolicyAssignmentReport.Builder>- Throws:
IOException
-
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.
-
setName
public OSPolicyAssignmentReport.Builder setName(String value)
The `OSPolicyAssignmentReport` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report`string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public OSPolicyAssignmentReport.Builder clearName()
The `OSPolicyAssignmentReport` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report`string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public OSPolicyAssignmentReport.Builder setNameBytes(com.google.protobuf.ByteString value)
The `OSPolicyAssignmentReport` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report`string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setInstance
public OSPolicyAssignmentReport.Builder setInstance(String value)
The Compute Engine VM instance name.
string instance = 2;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
public OSPolicyAssignmentReport.Builder clearInstance()
The Compute Engine VM instance name.
string instance = 2;- Returns:
- This builder for chaining.
-
setInstanceBytes
public OSPolicyAssignmentReport.Builder setInstanceBytes(com.google.protobuf.ByteString value)
The Compute Engine VM instance name.
string instance = 2;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
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.
-
setOsPolicyAssignment
public OSPolicyAssignmentReport.Builder setOsPolicyAssignment(String value)
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) = { ... }- Parameters:
value- The osPolicyAssignment to set.- Returns:
- This builder for chaining.
-
clearOsPolicyAssignment
public OSPolicyAssignmentReport.Builder clearOsPolicyAssignment()
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) = { ... }- Returns:
- This builder for chaining.
-
setOsPolicyAssignmentBytes
public OSPolicyAssignmentReport.Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for osPolicyAssignment to set.- Returns:
- This builder for chaining.
-
getOsPolicyCompliancesList
public List<OSPolicyAssignmentReport.OSPolicyCompliance> getOsPolicyCompliancesList()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;- Specified by:
getOsPolicyCompliancesListin interfaceOSPolicyAssignmentReportOrBuilder
-
getOsPolicyCompliancesCount
public int getOsPolicyCompliancesCount()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.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.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;- Specified by:
getOsPolicyCompliancesin interfaceOSPolicyAssignmentReportOrBuilder
-
setOsPolicyCompliances
public OSPolicyAssignmentReport.Builder setOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
setOsPolicyCompliances
public OSPolicyAssignmentReport.Builder setOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
addOsPolicyCompliances
public OSPolicyAssignmentReport.Builder addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance value)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
addOsPolicyCompliances
public OSPolicyAssignmentReport.Builder addOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
addOsPolicyCompliances
public OSPolicyAssignmentReport.Builder addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
addOsPolicyCompliances
public OSPolicyAssignmentReport.Builder addOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
addAllOsPolicyCompliances
public OSPolicyAssignmentReport.Builder addAllOsPolicyCompliances(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance> values)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
clearOsPolicyCompliances
public OSPolicyAssignmentReport.Builder clearOsPolicyCompliances()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
removeOsPolicyCompliances
public OSPolicyAssignmentReport.Builder removeOsPolicyCompliances(int index)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
getOsPolicyCompliancesBuilder
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder getOsPolicyCompliancesBuilder(int index)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
getOsPolicyCompliancesOrBuilder
public OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder(int index)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;- Specified by:
getOsPolicyCompliancesOrBuilderin interfaceOSPolicyAssignmentReportOrBuilder
-
getOsPolicyCompliancesOrBuilderList
public List<? extends OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;- Specified by:
getOsPolicyCompliancesOrBuilderListin interfaceOSPolicyAssignmentReportOrBuilder
-
addOsPolicyCompliancesBuilder
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
addOsPolicyCompliancesBuilder
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder(int index)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
getOsPolicyCompliancesBuilderList
public List<OSPolicyAssignmentReport.OSPolicyCompliance.Builder> getOsPolicyCompliancesBuilderList()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
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.
-
setUpdateTime
public OSPolicyAssignmentReport.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
-
setUpdateTime
public OSPolicyAssignmentReport.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
-
mergeUpdateTime
public OSPolicyAssignmentReport.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
-
clearUpdateTime
public OSPolicyAssignmentReport.Builder clearUpdateTime()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
-
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.
-
setLastRunId
public OSPolicyAssignmentReport.Builder setLastRunId(String value)
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;- Parameters:
value- The lastRunId to set.- Returns:
- This builder for chaining.
-
clearLastRunId
public OSPolicyAssignmentReport.Builder clearLastRunId()
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;- Returns:
- This builder for chaining.
-
setLastRunIdBytes
public OSPolicyAssignmentReport.Builder setLastRunIdBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for lastRunId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final OSPolicyAssignmentReport.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
mergeUnknownFields
public final OSPolicyAssignmentReport.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
-