Class OSPolicyAssignmentReport.OSPolicyCompliance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignmentReport.OSPolicyCompliance.Builder>
com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder
- All Implemented Interfaces:
OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OSPolicyAssignmentReport.OSPolicyCompliance
public static final class OSPolicyAssignmentReport.OSPolicyCompliance.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignmentReport.OSPolicyCompliance.Builder>
implements OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder
Compliance data for an OS policyProtobuf type
google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance-
Method Summary
Modifier and TypeMethodDescriptionaddAllOsPolicyResourceCompliances(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance> values) Compliance data for each resource within the policy that is applied to the VM.addOsPolicyResourceCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) Compliance data for each resource within the policy that is applied to the VM.addOsPolicyResourceCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) Compliance data for each resource within the policy that is applied to the VM.addOsPolicyResourceCompliances(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) Compliance data for each resource within the policy that is applied to the VM.addOsPolicyResourceCompliances(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) Compliance data for each resource within the policy that is applied to the VM.Compliance data for each resource within the policy that is applied to the VM.addOsPolicyResourceCompliancesBuilder(int index) Compliance data for each resource within the policy that is applied to the VM.build()clear()The compliance state of the OS policy.The reason for the OS policy to be in an unknown compliance state.The OS policy idCompliance data for each resource within the policy that is applied to the VM.The compliance state of the OS policy.The reason for the OS policy to be in an unknown compliance state.com.google.protobuf.ByteStringThe reason for the OS policy to be in an unknown compliance state.intThe compliance state of the OS policy.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe OS policy idcom.google.protobuf.ByteStringThe OS policy idgetOsPolicyResourceCompliances(int index) Compliance data for each resource within the policy that is applied to the VM.getOsPolicyResourceCompliancesBuilder(int index) Compliance data for each resource within the policy that is applied to the VM.Compliance data for each resource within the policy that is applied to the VM.intCompliance data for each resource within the policy that is applied to the VM.Compliance data for each resource within the policy that is applied to the VM.getOsPolicyResourceCompliancesOrBuilder(int index) Compliance data for each resource within the policy that is applied to the VM.Compliance data for each resource within the policy that is applied to the VM.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeOsPolicyResourceCompliances(int index) Compliance data for each resource within the policy that is applied to the VM.The compliance state of the OS policy.setComplianceStateReason(String value) The reason for the OS policy to be in an unknown compliance state.setComplianceStateReasonBytes(com.google.protobuf.ByteString value) The reason for the OS policy to be in an unknown compliance state.setComplianceStateValue(int value) The compliance state of the OS policy.setOsPolicyId(String value) The OS policy idsetOsPolicyIdBytes(com.google.protobuf.ByteString value) The OS policy idsetOsPolicyResourceCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) Compliance data for each resource within the policy that is applied to the VM.setOsPolicyResourceCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) Compliance data for each resource within the policy that is applied to the VM.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<OSPolicyAssignmentReport.OSPolicyCompliance.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignmentReport.OSPolicyCompliance.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.GeneratedMessage.Builder<OSPolicyAssignmentReport.OSPolicyCompliance.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSPolicyAssignmentReport.OSPolicyCompliance.Builder>
-
mergeFrom
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder mergeFrom(OSPolicyAssignmentReport.OSPolicyCompliance other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignmentReport.OSPolicyCompliance.Builder>
-
mergeFrom
public OSPolicyAssignmentReport.OSPolicyCompliance.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.OSPolicyCompliance.Builder>- Throws:
IOException
-
getOsPolicyId
The OS policy id
string os_policy_id = 1;- Specified by:
getOsPolicyIdin interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder- Returns:
- The osPolicyId.
-
getOsPolicyIdBytes
public com.google.protobuf.ByteString getOsPolicyIdBytes()The OS policy id
string os_policy_id = 1;- Specified by:
getOsPolicyIdBytesin interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder- Returns:
- The bytes for osPolicyId.
-
setOsPolicyId
The OS policy id
string os_policy_id = 1;- Parameters:
value- The osPolicyId to set.- Returns:
- This builder for chaining.
-
clearOsPolicyId
The OS policy id
string os_policy_id = 1;- Returns:
- This builder for chaining.
-
setOsPolicyIdBytes
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder setOsPolicyIdBytes(com.google.protobuf.ByteString value) The OS policy id
string os_policy_id = 1;- Parameters:
value- The bytes for osPolicyId to set.- Returns:
- This builder for chaining.
-
getComplianceStateValue
public int getComplianceStateValue()The compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2;- Specified by:
getComplianceStateValuein interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder- Returns:
- The enum numeric value on the wire for complianceState.
-
setComplianceStateValue
The compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2;- Parameters:
value- The enum numeric value on the wire for complianceState to set.- Returns:
- This builder for chaining.
-
getComplianceState
The compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2;- Specified by:
getComplianceStatein interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder- Returns:
- The complianceState.
-
setComplianceState
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder setComplianceState(OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState value) The compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2;- Parameters:
value- The complianceState to set.- Returns:
- This builder for chaining.
-
clearComplianceState
The compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2;- Returns:
- This builder for chaining.
-
getComplianceStateReason
The reason for the OS policy to be in an unknown compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. If populated, the field can contain one of the following values: * `vm-not-running`: The VM was not running. * `os-policies-not-supported-by-agent`: The version of the OS Config agent running on the VM does not support running OS policies. * `no-agent-detected`: The OS Config agent is not detected for the VM. * `resource-execution-errors`: The OS Config agent encountered errors while executing one or more resources in the policy. See `os_policy_resource_compliances` for details. * `task-timeout`: The task sent to the agent to apply the policy timed out. * `unexpected-agent-state`: The OS Config agent did not report the final status of the task that attempted to apply the policy. Instead, the agent unexpectedly started working on a different task. This mostly happens when the agent or VM unexpectedly restarts while applying OS policies. * `internal-service-errors`: Internal service errors were encountered while attempting to apply the policy.
string compliance_state_reason = 3;- Specified by:
getComplianceStateReasonin interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder- Returns:
- The complianceStateReason.
-
getComplianceStateReasonBytes
public com.google.protobuf.ByteString getComplianceStateReasonBytes()The reason for the OS policy to be in an unknown compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. If populated, the field can contain one of the following values: * `vm-not-running`: The VM was not running. * `os-policies-not-supported-by-agent`: The version of the OS Config agent running on the VM does not support running OS policies. * `no-agent-detected`: The OS Config agent is not detected for the VM. * `resource-execution-errors`: The OS Config agent encountered errors while executing one or more resources in the policy. See `os_policy_resource_compliances` for details. * `task-timeout`: The task sent to the agent to apply the policy timed out. * `unexpected-agent-state`: The OS Config agent did not report the final status of the task that attempted to apply the policy. Instead, the agent unexpectedly started working on a different task. This mostly happens when the agent or VM unexpectedly restarts while applying OS policies. * `internal-service-errors`: Internal service errors were encountered while attempting to apply the policy.
string compliance_state_reason = 3;- Specified by:
getComplianceStateReasonBytesin interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder- Returns:
- The bytes for complianceStateReason.
-
setComplianceStateReason
The reason for the OS policy to be in an unknown compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. If populated, the field can contain one of the following values: * `vm-not-running`: The VM was not running. * `os-policies-not-supported-by-agent`: The version of the OS Config agent running on the VM does not support running OS policies. * `no-agent-detected`: The OS Config agent is not detected for the VM. * `resource-execution-errors`: The OS Config agent encountered errors while executing one or more resources in the policy. See `os_policy_resource_compliances` for details. * `task-timeout`: The task sent to the agent to apply the policy timed out. * `unexpected-agent-state`: The OS Config agent did not report the final status of the task that attempted to apply the policy. Instead, the agent unexpectedly started working on a different task. This mostly happens when the agent or VM unexpectedly restarts while applying OS policies. * `internal-service-errors`: Internal service errors were encountered while attempting to apply the policy.
string compliance_state_reason = 3;- Parameters:
value- The complianceStateReason to set.- Returns:
- This builder for chaining.
-
clearComplianceStateReason
The reason for the OS policy to be in an unknown compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. If populated, the field can contain one of the following values: * `vm-not-running`: The VM was not running. * `os-policies-not-supported-by-agent`: The version of the OS Config agent running on the VM does not support running OS policies. * `no-agent-detected`: The OS Config agent is not detected for the VM. * `resource-execution-errors`: The OS Config agent encountered errors while executing one or more resources in the policy. See `os_policy_resource_compliances` for details. * `task-timeout`: The task sent to the agent to apply the policy timed out. * `unexpected-agent-state`: The OS Config agent did not report the final status of the task that attempted to apply the policy. Instead, the agent unexpectedly started working on a different task. This mostly happens when the agent or VM unexpectedly restarts while applying OS policies. * `internal-service-errors`: Internal service errors were encountered while attempting to apply the policy.
string compliance_state_reason = 3;- Returns:
- This builder for chaining.
-
setComplianceStateReasonBytes
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder setComplianceStateReasonBytes(com.google.protobuf.ByteString value) The reason for the OS policy to be in an unknown compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. If populated, the field can contain one of the following values: * `vm-not-running`: The VM was not running. * `os-policies-not-supported-by-agent`: The version of the OS Config agent running on the VM does not support running OS policies. * `no-agent-detected`: The OS Config agent is not detected for the VM. * `resource-execution-errors`: The OS Config agent encountered errors while executing one or more resources in the policy. See `os_policy_resource_compliances` for details. * `task-timeout`: The task sent to the agent to apply the policy timed out. * `unexpected-agent-state`: The OS Config agent did not report the final status of the task that attempted to apply the policy. Instead, the agent unexpectedly started working on a different task. This mostly happens when the agent or VM unexpectedly restarts while applying OS policies. * `internal-service-errors`: Internal service errors were encountered while attempting to apply the policy.
string compliance_state_reason = 3;- Parameters:
value- The bytes for complianceStateReason to set.- Returns:
- This builder for chaining.
-
getOsPolicyResourceCompliancesList
public List<OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance> getOsPolicyResourceCompliancesList()Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4;- Specified by:
getOsPolicyResourceCompliancesListin interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder
-
getOsPolicyResourceCompliancesCount
public int getOsPolicyResourceCompliancesCount()Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4;- Specified by:
getOsPolicyResourceCompliancesCountin interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder
-
getOsPolicyResourceCompliances
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4;- Specified by:
getOsPolicyResourceCompliancesin interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder
-
setOsPolicyResourceCompliances
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder setOsPolicyResourceCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
setOsPolicyResourceCompliances
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder setOsPolicyResourceCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
addOsPolicyResourceCompliances
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyResourceCompliances(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
addOsPolicyResourceCompliances
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyResourceCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
addOsPolicyResourceCompliances
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyResourceCompliances(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
addOsPolicyResourceCompliances
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyResourceCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
addAllOsPolicyResourceCompliances
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addAllOsPolicyResourceCompliances(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance> values) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
clearOsPolicyResourceCompliances
Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
removeOsPolicyResourceCompliances
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder removeOsPolicyResourceCompliances(int index) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
getOsPolicyResourceCompliancesBuilder
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder getOsPolicyResourceCompliancesBuilder(int index) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
getOsPolicyResourceCompliancesOrBuilder
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder(int index) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4;- Specified by:
getOsPolicyResourceCompliancesOrBuilderin interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder
-
getOsPolicyResourceCompliancesOrBuilderList
public List<? extends OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesOrBuilderList()Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4;- Specified by:
getOsPolicyResourceCompliancesOrBuilderListin interfaceOSPolicyAssignmentReport.OSPolicyComplianceOrBuilder
-
addOsPolicyResourceCompliancesBuilder
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder()Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
addOsPolicyResourceCompliancesBuilder
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder(int index) Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; -
getOsPolicyResourceCompliancesBuilderList
public List<OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder> getOsPolicyResourceCompliancesBuilderList()Compliance data for each resource within the policy that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4;
-