Class GetExecutionRequest.Builder (2.36.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.v1.GetExecutionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetExecutionRequest build()
Returns
TypeDescription
GetExecutionRequest

buildPartial()

public GetExecutionRequest buildPartial()
Returns
TypeDescription
GetExecutionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetExecutionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetExecutionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetExecutionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GetExecutionRequest.Builder

This builder for chaining.

clone()

public GetExecutionRequest.Builder clone()
Returns
TypeDescription
GetExecutionRequest.Builder
Overrides

getDefaultInstanceForType()

public GetExecutionRequest getDefaultInstanceForType()
Returns
TypeDescription
GetExecutionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetExecutionRequest other)

public GetExecutionRequest.Builder mergeFrom(GetExecutionRequest other)
Parameter
NameDescription
otherGetExecutionRequest
Returns
TypeDescription
GetExecutionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetExecutionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetExecutionRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetExecutionRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetExecutionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetExecutionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetExecutionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetExecutionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetExecutionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetExecutionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueExecutionView

The view to set.

Returns
TypeDescription
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.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
GetExecutionRequest.Builder

This builder for chaining.