- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 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 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OSPolicyAssignmentReport.BuilderImplements
OSPolicyAssignmentReportOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
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;
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance> |
Type | Description |
OSPolicyAssignmentReport.Builder |
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;
Name | Description |
value | OSPolicyAssignmentReport.OSPolicyCompliance |
Type | Description |
OSPolicyAssignmentReport.Builder |
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;
Name | Description |
builderForValue | OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
Type | Description |
OSPolicyAssignmentReport.Builder |
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;
Name | Description |
index | int |
value | OSPolicyAssignmentReport.OSPolicyCompliance |
Type | Description |
OSPolicyAssignmentReport.Builder |
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;
Name | Description |
index | int |
builderForValue | OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
Type | Description |
OSPolicyAssignmentReport.Builder |
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;
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
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;
Name | Description |
index | int |
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignmentReport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OSPolicyAssignmentReport.Builder |
build()
public OSPolicyAssignmentReport build()
Type | Description |
OSPolicyAssignmentReport |
buildPartial()
public OSPolicyAssignmentReport buildPartial()
Type | Description |
OSPolicyAssignmentReport |
clear()
public OSPolicyAssignmentReport.Builder clear()
Type | Description |
OSPolicyAssignmentReport.Builder |
clearField(Descriptors.FieldDescriptor field)
public OSPolicyAssignmentReport.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
OSPolicyAssignmentReport.Builder |
clearInstance()
public OSPolicyAssignmentReport.Builder clearInstance()
The Compute Engine VM instance name.
string instance = 2;
Type | Description |
OSPolicyAssignmentReport.Builder | 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;
Type | Description |
OSPolicyAssignmentReport.Builder | 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;
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicyAssignmentReport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
OSPolicyAssignmentReport.Builder |
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) = { ... }
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
clearOsPolicyCompliances()
public OSPolicyAssignmentReport.Builder clearOsPolicyCompliances()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Type | Description |
OSPolicyAssignmentReport.Builder |
clearUpdateTime()
public OSPolicyAssignmentReport.Builder clearUpdateTime()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Type | Description |
OSPolicyAssignmentReport.Builder |
clone()
public OSPolicyAssignmentReport.Builder clone()
Type | Description |
OSPolicyAssignmentReport.Builder |
getDefaultInstanceForType()
public OSPolicyAssignmentReport getDefaultInstanceForType()
Type | Description |
OSPolicyAssignmentReport |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getInstance()
public String getInstance()
The Compute Engine VM instance name.
string instance = 2;
Type | Description |
String | The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()
The Compute Engine VM instance name.
string instance = 2;
Type | Description |
ByteString | The bytes for instance. |
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;
Type | Description |
String | The lastRunId. |
getLastRunIdBytes()
public 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;
Type | Description |
ByteString | The bytes for lastRunId. |
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;
Type | Description |
String | The name. |
getNameBytes()
public 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;
Type | Description |
ByteString | The bytes for name. |
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) = { ... }
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 = 3 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for osPolicyAssignment. |
getOsPolicyCompliances(int index)
public OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Name | Description |
index | int |
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance |
getOsPolicyCompliancesBuilder(int index)
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder getOsPolicyCompliancesBuilder(int index)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Name | Description |
index | int |
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
getOsPolicyCompliancesBuilderList()
public List<OSPolicyAssignmentReport.OSPolicyCompliance.Builder> getOsPolicyCompliancesBuilderList()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Type | Description |
List<Builder> |
getOsPolicyCompliancesCount()
public int getOsPolicyCompliancesCount()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Type | Description |
int |
getOsPolicyCompliancesList()
public List<OSPolicyAssignmentReport.OSPolicyCompliance> getOsPolicyCompliancesList()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Type | Description |
List<OSPolicyCompliance> |
getOsPolicyCompliancesOrBuilder(int index)
public OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder(int index)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Name | Description |
index | int |
Type | Description |
OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder |
getOsPolicyCompliancesOrBuilderList()
public List<? extends OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> |
getUpdateTime()
public Timestamp getUpdateTime()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Type | Description |
TimestampOrBuilder |
hasUpdateTime()
public boolean hasUpdateTime()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(OSPolicyAssignmentReport other)
public OSPolicyAssignmentReport.Builder mergeFrom(OSPolicyAssignmentReport other)
Name | Description |
other | OSPolicyAssignmentReport |
Type | Description |
OSPolicyAssignmentReport.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OSPolicyAssignmentReport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OSPolicyAssignmentReport.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public OSPolicyAssignmentReport.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
OSPolicyAssignmentReport.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignmentReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OSPolicyAssignmentReport.Builder |
mergeUpdateTime(Timestamp value)
public OSPolicyAssignmentReport.Builder mergeUpdateTime(Timestamp value)
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
OSPolicyAssignmentReport.Builder |
removeOsPolicyCompliances(int index)
public OSPolicyAssignmentReport.Builder removeOsPolicyCompliances(int index)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Name | Description |
index | int |
Type | Description |
OSPolicyAssignmentReport.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignmentReport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OSPolicyAssignmentReport.Builder |
setInstance(String value)
public OSPolicyAssignmentReport.Builder setInstance(String value)
The Compute Engine VM instance name.
string instance = 2;
Name | Description |
value | String The instance to set. |
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setInstanceBytes(ByteString value)
public OSPolicyAssignmentReport.Builder setInstanceBytes(ByteString value)
The Compute Engine VM instance name.
string instance = 2;
Name | Description |
value | ByteString The bytes for instance to set. |
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setLastRunId(String value)
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;
Name | Description |
value | String The lastRunId to set. |
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setLastRunIdBytes(ByteString value)
public OSPolicyAssignmentReport.Builder setLastRunIdBytes(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;
Name | Description |
value | ByteString The bytes for lastRunId to set. |
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setName(String value)
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;
Name | Description |
value | String The name to set. |
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public OSPolicyAssignmentReport.Builder setNameBytes(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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setOsPolicyAssignment(String value)
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) = { ... }
Name | Description |
value | String The osPolicyAssignment to set. |
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setOsPolicyAssignmentBytes(ByteString value)
public OSPolicyAssignmentReport.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 = 3 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for osPolicyAssignment to set. |
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)
public OSPolicyAssignmentReport.Builder setOsPolicyCompliances(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;
Name | Description |
index | int |
value | OSPolicyAssignmentReport.OSPolicyCompliance |
Type | Description |
OSPolicyAssignmentReport.Builder |
setOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
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.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Name | Description |
index | int |
builderForValue | OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
Type | Description |
OSPolicyAssignmentReport.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OSPolicyAssignmentReport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
OSPolicyAssignmentReport.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignmentReport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OSPolicyAssignmentReport.Builder |
setUpdateTime(Timestamp value)
public OSPolicyAssignmentReport.Builder setUpdateTime(Timestamp value)
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
OSPolicyAssignmentReport.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public OSPolicyAssignmentReport.Builder setUpdateTime(Timestamp.Builder builderForValue)
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
OSPolicyAssignmentReport.Builder |