Class GetExecutionRequest.Builder (2.55.0)

publicstaticfinalclass GetExecutionRequest.BuilderextendsGeneratedMessageV3.Builder<GetExecutionRequest.Builder>implementsGetExecutionRequestOrBuilder

Request for the GetExecution method.

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicGetExecutionRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetExecutionRequest.Builder
Overrides

build()

publicGetExecutionRequestbuild()
Returns
Type Description
GetExecutionRequest

buildPartial()

publicGetExecutionRequestbuildPartial()
Returns
Type Description
GetExecutionRequest

clear()

publicGetExecutionRequest.Builderclear()
Returns
Type Description
GetExecutionRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicGetExecutionRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetExecutionRequest.Builder
Overrides

clearName()

publicGetExecutionRequest.BuilderclearName()

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)

publicGetExecutionRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetExecutionRequest.Builder
Overrides

clearView()

publicGetExecutionRequest.BuilderclearView()

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

This builder for chaining.

clone()

publicGetExecutionRequest.Builderclone()
Returns
Type Description
GetExecutionRequest.Builder
Overrides

getDefaultInstanceForType()

publicGetExecutionRequestgetDefaultInstanceForType()
Returns
Type Description
GetExecutionRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

publicStringgetName()

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()

publicByteStringgetNameBytes()

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()

publicExecutionViewgetView()

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
Type Description
ExecutionView

The view.

getViewValue()

publicintgetViewValue()

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
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetExecutionRequest other)

publicGetExecutionRequest.BuildermergeFrom(GetExecutionRequestother)
Parameter
Name Description
other GetExecutionRequest
Returns
Type Description
GetExecutionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicGetExecutionRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetExecutionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicGetExecutionRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
GetExecutionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalGetExecutionRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetExecutionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicGetExecutionRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetExecutionRequest.Builder
Overrides

setName(String value)

publicGetExecutionRequest.BuildersetName(Stringvalue)

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)

publicGetExecutionRequest.BuildersetNameBytes(ByteStringvalue)

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)

publicGetExecutionRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetExecutionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalGetExecutionRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetExecutionRequest.Builder
Overrides

setView(ExecutionView value)

publicGetExecutionRequest.BuildersetView(ExecutionViewvalue)

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
Name Description
value ExecutionView

The view to set.

Returns
Type Description
GetExecutionRequest.Builder

This builder for chaining.

setViewValue(int value)

publicGetExecutionRequest.BuildersetViewValue(intvalue)

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
Name Description
value int

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

Returns
Type Description
GetExecutionRequest.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.