Class OSPolicyAssignmentOperationMetadata.Builder (2.29.0)

public static final class OSPolicyAssignmentOperationMetadata.Builder extends GeneratedMessageV3.Builder<OSPolicyAssignmentOperationMetadata.Builder> implements OSPolicyAssignmentOperationMetadataOrBuilder

OS policy assignment operation metadata provided by OS policy assignment API methods that return long running operations.

Protobuf type google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OSPolicyAssignmentOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.Builder
Overrides

build()

public OSPolicyAssignmentOperationMetadata build()
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata

buildPartial()

public OSPolicyAssignmentOperationMetadata buildPartial()
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata

clear()

public OSPolicyAssignmentOperationMetadata.Builder clear()
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.Builder
Overrides

clearApiMethod()

public OSPolicyAssignmentOperationMetadata.Builder clearApiMethod()

The OS policy assignment API method.

.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2;

Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OSPolicyAssignmentOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OSPolicyAssignmentOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.Builder
Overrides

clearOsPolicyAssignment()

public OSPolicyAssignmentOperationMetadata.Builder clearOsPolicyAssignment()

Reference to the OSPolicyAssignment API resource.

Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}

string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.Builder

This builder for chaining.

clearRolloutStartTime()

public OSPolicyAssignmentOperationMetadata.Builder clearRolloutStartTime()

Rollout star