Class GetExecutionRequest.Builder (2.48.0)

public static final class GetExecutionRequest.Builder extends GeneratedMessageV3.Builder<GetExecutionRequest.Builder> implements GetExecutionRequestOrBuilder

Request for the GetExecution method.

Protobuf type google.cloud.workflows.executions.v1beta.GetExecutionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetExecutionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetExecutionRequest.Builder
Overrides

build()

public GetExecutionRequest build()
Returns
Type Description
GetExecutionRequest

buildPartial()

public GetExecutionRequest buildPartial()
Returns
Type Description
GetExecutionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetExecutionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetExecutionRequest.Builder
Overrides

clearName()

public GetExecutionRequest.Builder clearName()

Required. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

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

Returns
Type Description
GetExecutionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetExecutionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetExecutionRequest.Builder
Overrides

clearView()

public GetExecutionRequest.Builder clearView()

Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view.

.google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GetExecutionRequest.Builder

This builder for chaining.

clone()

public GetExecutionRequest.Builder clone()
Returns
Type Description
GetExecutionRequest.Builder
Overrides

getDefaultInstanceForType()

public GetExecutionRequest getDefaultInstanceForType()
Returns
Type Description
GetExecutionRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

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

Returns
Type Description
ByteString

The bytes for name.

getView()

public ExecutionView getView()

Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view.

.google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionView

The view.

getViewValue()

public int getViewValue()

Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view.

.google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetExecutionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetExecutionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetExecutionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetExecutionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetExecutionRequest.Builder
Overrides

setName(String value)

public GetExecutionRequest.Builder setName(String value)

Required. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetExecutionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetExecutionRequest.Builder setNameBytes(ByteString value)

Required. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

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
GetExecutionRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetExecutionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetExecutionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetExecutionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetExecutionRequest.Builder
Overrides

setView(ExecutionView value)

public GetExecutionRequest.Builder setView(ExecutionView value)

Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view.

.google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExecutionView

The view to set.

Returns
Type Description
GetExecutionRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetExecutionRequest.Builder setViewValue(int value)

Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view.

.google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
GetExecutionRequest.Builder

This builder for chaining.