- 2.49.0 (latest)
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public static final class InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder extends GeneratedMessageV3.Builder<InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder> implements InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder
Compliance data for an OS policy
Protobuf type
google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InstanceOSPoliciesCompliance.OSPolicyCompliance.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllOsPolicyResourceCompliances(Iterable<? extends OSPolicyResourceCompliance> values)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder addAllOsPolicyResourceCompliances(Iterable<? extends OSPolicyResourceCompliance> values)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance> |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
addOsPolicyResourceCompliances(OSPolicyResourceCompliance value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder addOsPolicyResourceCompliances(OSPolicyResourceCompliance value)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
value | OSPolicyResourceCompliance |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
addOsPolicyResourceCompliances(OSPolicyResourceCompliance.Builder builderForValue)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder addOsPolicyResourceCompliances(OSPolicyResourceCompliance.Builder builderForValue)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
builderForValue | OSPolicyResourceCompliance.Builder |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
addOsPolicyResourceCompliances(int index, OSPolicyResourceCompliance value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder addOsPolicyResourceCompliances(int index, OSPolicyResourceCompliance value)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
index | int |
value | OSPolicyResourceCompliance |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
addOsPolicyResourceCompliances(int index, OSPolicyResourceCompliance.Builder builderForValue)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder addOsPolicyResourceCompliances(int index, OSPolicyResourceCompliance.Builder builderForValue)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
index | int |
builderForValue | OSPolicyResourceCompliance.Builder |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
addOsPolicyResourceCompliancesBuilder()
public OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder()
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Type | Description |
OSPolicyResourceCompliance.Builder |
addOsPolicyResourceCompliancesBuilder(int index)
public OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder(int index)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
index | int |
Type | Description |
OSPolicyResourceCompliance.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
build()
public InstanceOSPoliciesCompliance.OSPolicyCompliance build()
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance |
buildPartial()
public InstanceOSPoliciesCompliance.OSPolicyCompliance buildPartial()
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance |
clear()
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder clear()
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
clearField(Descriptors.FieldDescriptor field)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
clearOsPolicyAssignment()
public InstanceOSPoliciesCompliance.OSPolicyCompliance.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 = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder | This builder for chaining. |
clearOsPolicyId()
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder clearOsPolicyId()
The OS policy id
string os_policy_id = 1;
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder | This builder for chaining. |
clearOsPolicyResourceCompliances()
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder clearOsPolicyResourceCompliances()
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
clearState()
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder clearState()
Compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4;
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder | This builder for chaining. |
clone()
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder clone()
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
getDefaultInstanceForType()
public InstanceOSPoliciesCompliance.OSPolicyCompliance getDefaultInstanceForType()
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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 = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The osPolicyAssignment. |
getOsPolicyAssignmentBytes()
public 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 = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for osPolicyAssignment. |
getOsPolicyId()
public String getOsPolicyId()
The OS policy id
string os_policy_id = 1;
Type | Description |
String | The osPolicyId. |
getOsPolicyIdBytes()
public ByteString getOsPolicyIdBytes()
The OS policy id
string os_policy_id = 1;
Type | Description |
ByteString | The bytes for osPolicyId. |
getOsPolicyResourceCompliances(int index)
public OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
index | int |
Type | Description |
OSPolicyResourceCompliance |
getOsPolicyResourceCompliancesBuilder(int index)
public OSPolicyResourceCompliance.Builder getOsPolicyResourceCompliancesBuilder(int index)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
index | int |
Type | Description |
OSPolicyResourceCompliance.Builder |
getOsPolicyResourceCompliancesBuilderList()
public List<OSPolicyResourceCompliance.Builder> getOsPolicyResourceCompliancesBuilderList()
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Type | Description |
List<Builder> |
getOsPolicyResourceCompliancesCount()
public int getOsPolicyResourceCompliancesCount()
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Type | Description |
int |
getOsPolicyResourceCompliancesList()
public List<OSPolicyResourceCompliance> getOsPolicyResourceCompliancesList()
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Type | Description |
List<OSPolicyResourceCompliance> |
getOsPolicyResourceCompliancesOrBuilder(int index)
public OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder(int index)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
index | int |
Type | Description |
OSPolicyResourceComplianceOrBuilder |
getOsPolicyResourceCompliancesOrBuilderList()
public List<? extends OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesOrBuilderList()
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> |
getState()
public OSPolicyComplianceState getState()
Compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4;
Type | Description |
OSPolicyComplianceState | The state. |
getStateValue()
public int getStateValue()
Compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4;
Type | Description |
int | The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(InstanceOSPoliciesCompliance.OSPolicyCompliance other)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder mergeFrom(InstanceOSPoliciesCompliance.OSPolicyCompliance other)
Name | Description |
other | InstanceOSPoliciesCompliance.OSPolicyCompliance |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
removeOsPolicyResourceCompliances(int index)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder removeOsPolicyResourceCompliances(int index)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
index | int |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
setOsPolicyAssignment(String value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.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 = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The osPolicyAssignment to set. |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder | This builder for chaining. |
setOsPolicyAssignmentBytes(ByteString value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder setOsPolicyAssignmentBytes(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 = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for osPolicyAssignment to set. |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder | This builder for chaining. |
setOsPolicyId(String value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder setOsPolicyId(String value)
The OS policy id
string os_policy_id = 1;
Name | Description |
value | String The osPolicyId to set. |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder | This builder for chaining. |
setOsPolicyIdBytes(ByteString value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder setOsPolicyIdBytes(ByteString value)
The OS policy id
string os_policy_id = 1;
Name | Description |
value | ByteString The bytes for osPolicyId to set. |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder | This builder for chaining. |
setOsPolicyResourceCompliances(int index, OSPolicyResourceCompliance value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder setOsPolicyResourceCompliances(int index, OSPolicyResourceCompliance value)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
index | int |
value | OSPolicyResourceCompliance |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
setOsPolicyResourceCompliances(int index, OSPolicyResourceCompliance.Builder builderForValue)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder setOsPolicyResourceCompliances(int index, OSPolicyResourceCompliance.Builder builderForValue)
Compliance data for each OSPolicyResource
that is applied to the
VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
Name | Description |
index | int |
builderForValue | OSPolicyResourceCompliance.Builder |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |
setState(OSPolicyComplianceState value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder setState(OSPolicyComplianceState value)
Compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4;
Name | Description |
value | OSPolicyComplianceState The state to set. |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder | This builder for chaining. |
setStateValue(int value)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder setStateValue(int value)
Compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder |