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.Builder
addAllOsPolicyCompliances(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance> values)
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.Builder
addOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.Builder
addOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.Builder
addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance value)
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.Builder
addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.OSPolicyCompliance.Builder
addOsPolicyCompliancesBuilder()
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.OSPolicyCompliance.Builder
addOsPolicyCompliancesBuilder(int index)
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
OSPolicyAssignmentReport
build()
OSPolicyAssignmentReport
buildPartial()
OSPolicyAssignmentReport.Builder
clear()
OSPolicyAssignmentReport.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
OSPolicyAssignmentReport.Builder
clearInstance()
The Compute Engine VM instance name.OSPolicyAssignmentReport.Builder
clearLastRunId()
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.OSPolicyAssignmentReport.Builder
clearName()
The `OSPolicyAssignmentReport` API resource name.OSPolicyAssignmentReport.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
OSPolicyAssignmentReport.Builder
clearOsPolicyAssignment()
Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.OSPolicyAssignmentReport.Builder
clearOsPolicyCompliances()
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.Builder
clearUpdateTime()
Timestamp for when the report was last generated.OSPolicyAssignmentReport.Builder
clone()
OSPolicyAssignmentReport
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getInstance()
The Compute Engine VM instance name.com.google.protobuf.ByteString
getInstanceBytes()
The Compute Engine VM instance name.String
getLastRunId()
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.com.google.protobuf.ByteString
getLastRunIdBytes()
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.String
getName()
The `OSPolicyAssignmentReport` API resource name.com.google.protobuf.ByteString
getNameBytes()
The `OSPolicyAssignmentReport` API resource name.String
getOsPolicyAssignment()
Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.com.google.protobuf.ByteString
getOsPolicyAssignmentBytes()
Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.OSPolicyAssignmentReport.OSPolicyCompliance
getOsPolicyCompliances(int index)
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.OSPolicyCompliance.Builder
getOsPolicyCompliancesBuilder(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.int
getOsPolicyCompliancesCount()
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.OSPolicyComplianceOrBuilder
getOsPolicyCompliancesOrBuilder(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.Timestamp
getUpdateTime()
Timestamp for when the report was last generated.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Timestamp for when the report was last generated.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Timestamp for when the report was last generated.boolean
hasUpdateTime()
Timestamp for when the report was last generated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OSPolicyAssignmentReport.Builder
mergeFrom(OSPolicyAssignmentReport other)
OSPolicyAssignmentReport.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OSPolicyAssignmentReport.Builder
mergeFrom(com.google.protobuf.Message other)
OSPolicyAssignmentReport.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
OSPolicyAssignmentReport.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Timestamp for when the report was last generated.OSPolicyAssignmentReport.Builder
removeOsPolicyCompliances(int index)
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
OSPolicyAssignmentReport.Builder
setInstance(String value)
The Compute Engine VM instance name.OSPolicyAssignmentReport.Builder
setInstanceBytes(com.google.protobuf.ByteString value)
The Compute Engine VM instance name.OSPolicyAssignmentReport.Builder
setLastRunId(String value)
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.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.OSPolicyAssignmentReport.Builder
setName(String value)
The `OSPolicyAssignmentReport` API resource name.OSPolicyAssignmentReport.Builder
setNameBytes(com.google.protobuf.ByteString value)
The `OSPolicyAssignmentReport` API resource name.OSPolicyAssignmentReport.Builder
setOsPolicyAssignment(String value)
Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.OSPolicyAssignmentReport.Builder
setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value)
Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.OSPolicyAssignmentReport.Builder
setOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.Builder
setOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
OSPolicyAssignmentReport.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
OSPolicyAssignmentReport.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Timestamp for when the report was last generated.OSPolicyAssignmentReport.Builder
setUpdateTime(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
clear
public OSPolicyAssignmentReport.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
getDefaultInstanceForType
public OSPolicyAssignmentReport getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OSPolicyAssignmentReport build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OSPolicyAssignmentReport buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OSPolicyAssignmentReport.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
setField
public OSPolicyAssignmentReport.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
clearField
public OSPolicyAssignmentReport.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
clearOneof
public OSPolicyAssignmentReport.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
setRepeatedField
public OSPolicyAssignmentReport.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
addRepeatedField
public OSPolicyAssignmentReport.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
mergeFrom
public OSPolicyAssignmentReport.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OSPolicyAssignmentReport.Builder>
-
mergeFrom
public OSPolicyAssignmentReport.Builder mergeFrom(OSPolicyAssignmentReport other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getInstance
in interfaceOSPolicyAssignmentReportOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
The Compute Engine VM instance name.
string instance = 2;
- Specified by:
getInstanceBytes
in 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:
getOsPolicyAssignment
in 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:
getOsPolicyAssignmentBytes
in 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:
getOsPolicyCompliancesList
in 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:
getOsPolicyCompliancesCount
in 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:
getOsPolicyCompliances
in 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:
getOsPolicyCompliancesOrBuilder
in 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:
getOsPolicyCompliancesOrBuilderList
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
getLastRunId
in 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:
getLastRunIdBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
mergeUnknownFields
public final OSPolicyAssignmentReport.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder>
-
-