Class RunEvaluationRequest.Builder (0.1.0)

public static final class RunEvaluationRequest.Builder extends GeneratedMessage.Builder<RunEvaluationRequest.Builder> implements RunEvaluationRequestOrBuilder

Request message for the RunEvaluation RPC.

Protobuf type google.cloud.workloadmanager.v1.RunEvaluationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public RunEvaluationRequest build()
Returns
Type Description
RunEvaluationRequest

buildPartial()

public RunEvaluationRequest buildPartial()
Returns
Type Description
RunEvaluationRequest

clear()

public RunEvaluationRequest.Builder clear()
Returns
Type Description
RunEvaluationRequest.Builder
Overrides

clearExecution()

public RunEvaluationRequest.Builder clearExecution()

Required. The resource being created.

.google.cloud.workloadmanager.v1.Execution execution = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RunEvaluationRequest.Builder

clearExecutionId()

public RunEvaluationRequest.Builder clearExecutionId()

Required. ID of the execution which will be created.

string execution_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RunEvaluationRequest.Builder

This builder for chaining.

clearName()

public RunEvaluationRequest.Builder clearName()

Required. The resource name of the Evaluation using the form: projects/{project}/locations/{location}/evaluations/{evaluation}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
RunEvaluationRequest.Builder

This builder for chaining.

clearRequestId()

public RunEvaluationRequest.Builder clearRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RunEvaluationRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public RunEvaluationRequest getDefaultInstanceForType()
Returns
Type Description
RunEvaluationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExecution()

public Execution getExecution()

Required. The resource being created.

.google.cloud.workloadmanager.v1.Execution execution = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Execution

The execution.

getExecutionBuilder()

public Execution.Builder getExecutionBuilder()

Required. The resource being created.

.google.cloud.workloadmanager.v1.Execution execution = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Execution.Builder

getExecutionId()

public String getExecutionId()

Required. ID of the execution which will be created.

string execution_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The executionId.

getExecutionIdBytes()

public ByteString getExecutionIdBytes()

Required. ID of the execution which will be created.

string execution_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for executionId.

getExecutionOrBuilder()

public ExecutionOrBuilder getExecutionOrBuilder()

Required. The resource being created.

.google.cloud.workloadmanager.v1.Execution execution = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExecutionOrBuilder

getName()

public String getName()

Required. The resource name of the Evaluation using the form: projects/{project}/locations/{location}/evaluations/{evaluation}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the Evaluation using the form: projects/{project}/locations/{location}/evaluations/{evaluation}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getRequestId()

public String getRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

hasExecution()

public boolean hasExecution()

Required. The resource being created.

.google.cloud.workloadmanager.v1.Execution execution = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the execution field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExecution(Execution value)

public RunEvaluationRequest.Builder mergeExecution(Execution value)

Required. The resource being created.

.google.cloud.workloadmanager.v1.Execution execution = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Execution
Returns
Type Description
RunEvaluationRequest.Builder

mergeFrom(RunEvaluationRequest other)

public RunEvaluationRequest.Builder mergeFrom(RunEvaluationRequest other)
Parameter
Name Description
other RunEvaluationRequest
Returns
Type Description
RunEvaluationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RunEvaluationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunEvaluationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RunEvaluationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RunEvaluationRequest.Builder
Overrides

setExecution(Execution value)

public RunEvaluationRequest.Builder setExecution(Execution value)

Required. The resource being created.

.google.cloud.workloadmanager.v1.Execution execution = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Execution
Returns
Type Description
RunEvaluationRequest.Builder

setExecution(Execution.Builder builderForValue)

public RunEvaluationRequest.Builder setExecution(Execution.Builder builderForValue)

Required. The resource being created.

.google.cloud.workloadmanager.v1.Execution execution = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Execution.Builder
Returns
Type Description
RunEvaluationRequest.Builder

setExecutionId(String value)

public RunEvaluationRequest.Builder setExecutionId(String value)

Required. ID of the execution which will be created.

string execution_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The executionId to set.

Returns
Type Description
RunEvaluationRequest.Builder

This builder for chaining.

setExecutionIdBytes(ByteString value)

public RunEvaluationRequest.Builder setExecutionIdBytes(ByteString value)

Required. ID of the execution which will be created.

string execution_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for executionId to set.

Returns
Type Description
RunEvaluationRequest.Builder

This builder for chaining.

setName(String value)

public RunEvaluationRequest.Builder setName(String value)

Required. The resource name of the Evaluation using the form: projects/{project}/locations/{location}/evaluations/{evaluation}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RunEvaluationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RunEvaluationRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the Evaluation using the form: projects/{project}/locations/{location}/evaluations/{evaluation}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RunEvaluationRequest.Builder

This builder for chaining.

setRequestId(String value)

public RunEvaluationRequest.Builder setRequestId(String value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
RunEvaluationRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public RunEvaluationRequest.Builder setRequestIdBytes(ByteString value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
RunEvaluationRequest.Builder

This builder for chaining.