Class CreateExecutionRequest.Builder (2.6.0)

publicstaticfinalclass CreateExecutionRequest.BuilderextendsGeneratedMessageV3.Builder<CreateExecutionRequest.Builder>implementsCreateExecutionRequestOrBuilder

Request for the CreateExecution method.

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicCreateExecutionRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicCreateExecutionRequestbuild()
Returns
Type Description

buildPartial()

publicCreateExecutionRequestbuildPartial()
Returns
Type Description

clear()

publicCreateExecutionRequest.Builderclear()
Returns
Type Description
Overrides

clearExecution()

publicCreateExecutionRequest.BuilderclearExecution()

Required. Execution to be created.

.google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

clearField(Descriptors.FieldDescriptor field)

publicCreateExecutionRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicCreateExecutionRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clearParent()

publicCreateExecutionRequest.BuilderclearParent()

Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.

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

Returns
Type Description
CreateExecutionRequest.Builder

This builder for chaining.

clone()

publicCreateExecutionRequest.Builderclone()
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicCreateExecutionRequestgetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getExecution()

publicExecutiongetExecution()

Required. Execution to be created.

.google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Execution

The execution.

getExecutionBuilder()

publicExecution.BuildergetExecutionBuilder()

Required. Execution to be created.

.google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

getExecutionOrBuilder()

publicExecutionOrBuildergetExecutionOrBuilder()

Required. Execution to be created.

.google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

getParent()

publicStringgetParent()

Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.

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

Returns
Type Description
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.

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

Returns
Type Description
ByteString

The bytes for parent.

hasExecution()

publicbooleanhasExecution()

Required. Execution to be created.

.google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the execution field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeExecution(Execution value)

publicCreateExecutionRequest.BuildermergeExecution(Executionvalue)

Required. Execution to be created.

.google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Execution
Returns
Type Description

mergeFrom(CreateExecutionRequest other)

publicCreateExecutionRequest.BuildermergeFrom(CreateExecutionRequestother)
Parameter
Name Description
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicCreateExecutionRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicCreateExecutionRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateExecutionRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setExecution(Execution value)

publicCreateExecutionRequest.BuildersetExecution(Executionvalue)

Required. Execution to be created.

.google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Execution
Returns
Type Description

setExecution(Execution.Builder builderForValue)

publicCreateExecutionRequest.BuildersetExecution(Execution.BuilderbuilderForValue)

Required. Execution to be created.

.google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Execution.Builder
Returns
Type Description

setField(Descriptors.FieldDescriptor field, Object value)

publicCreateExecutionRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setParent(String value)

publicCreateExecutionRequest.BuildersetParent(Stringvalue)

Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateExecutionRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

publicCreateExecutionRequest.BuildersetParentBytes(ByteStringvalue)

Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateExecutionRequest.Builder

This builder for chaining.

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

publicCreateExecutionRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateExecutionRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

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.