public static final class OSPolicyAssignmentReport.Builder extends GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder> implements OSPolicyAssignmentReportOrBuilder
A report of the OS policy assignment status for a given instance.
Protobuf type google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllOsPolicyCompliances(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance> values)
public OSPolicyAssignmentReport.Builder addAllOsPolicyCompliances(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance> values)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance>
|
addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance value)
public OSPolicyAssignmentReport.Builder addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance value)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
public OSPolicyAssignmentReport.Builder addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
addOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)
public OSPolicyAssignmentReport.Builder addOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
addOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
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.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
addOsPolicyCompliancesBuilder()
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
addOsPolicyCompliancesBuilder(int index)
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder(int index)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignmentReport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public OSPolicyAssignmentReport build()