Class Execution.Builder (0.75.0)

publicstaticfinalclass Execution.BuilderextendsGeneratedMessageV3.Builder<Execution.Builder>implementsExecutionOrBuilder

Execution represents the configuration of a single execution. A execution an immutable resource that references a container image which is run to completion.

Protobuf type google.cloud.run.v2.Execution

Implements

ExecutionOrBuilder

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

addAllConditions(Iterable<? extends Condition> values)

publicExecution.BuilderaddAllConditions(Iterable<?extendsCondition>values)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.run.v2.Condition>
Returns
Type Description
Execution.Builder

addConditions(Condition value)

publicExecution.BuilderaddConditions(Conditionvalue)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Condition
Returns
Type Description
Execution.Builder

addConditions(Condition.Builder builderForValue)

publicExecution.BuilderaddConditions(Condition.BuilderbuilderForValue)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addConditions(int index, Condition value)

publicExecution.BuilderaddConditions(intindex,Conditionvalue)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Condition
Returns
Type Description
Execution.Builder

addConditions(int index, Condition.Builder builderForValue)

publicExecution.BuilderaddConditions(intindex,Condition.BuilderbuilderForValue)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Condition.Builder
Returns
Type Description
Execution.Builder

addConditionsBuilder()

publicCondition.BuilderaddConditionsBuilder()

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Condition.Builder

addConditionsBuilder(int index)

publicCondition.BuilderaddConditionsBuilder(intindex)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Condition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

publicExecutionbuild()
Returns
Type Description
Execution

buildPartial()

publicExecutionbuildPartial()
Returns
Type Description
Execution

clear()

publicExecution.Builderclear()
Returns
Type Description
Execution.Builder
Overrides

clearAnnotations()

publicExecution.BuilderclearAnnotations()
Returns
Type Description
Execution.Builder

clearCancelledCount()

publicExecution.BuilderclearCancelledCount()

Output only. The number of tasks which reached phase Cancelled.

int32 cancelled_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearCompletionTime()

publicExecution.BuilderclearCompletionTime()

Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearConditions()

publicExecution.BuilderclearConditions()

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearCreateTime()

publicExecution.BuilderclearCreateTime()

Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearCreator()

publicExecution.BuilderclearCreator()

Output only. Email address of the authenticated creator.

string creator = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearDeleteTime()

publicExecution.BuilderclearDeleteTime()

Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearEtag()

publicExecution.BuilderclearEtag()

Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearExpireTime()

publicExecution.BuilderclearExpireTime()

Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearFailedCount()

publicExecution.BuilderclearFailedCount()

Output only. The number of tasks which reached phase Failed.

int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicExecution.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Execution.Builder
Overrides

clearGeneration()

publicExecution.BuilderclearGeneration()

Output only. A number that monotonically increases every time the user modifies the desired state.

int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearJob()

publicExecution.BuilderclearJob()

Output only. The name of the parent Job.

string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
Execution.Builder

This builder for chaining.

clearLabels()

publicExecution.BuilderclearLabels()
Returns
Type Description
Execution.Builder

clearLaunchStage()

publicExecution.BuilderclearLaunchStage()

The least stable launch stage needed to create this resource, as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA.

Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.

.google.api.LaunchStage launch_stage = 11;

Returns
Type Description
Execution.Builder

This builder for chaining.

clearLogUri()

publicExecution.BuilderclearLogUri()

Output only. URI where logs for this execution can be found in Cloud Console.

string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearName()

publicExecution.BuilderclearName()

Output only. The unique name of this Execution.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearObservedGeneration()

publicExecution.BuilderclearObservedGeneration()

Output only. The generation of this Execution. See comments in reconciling for additional information on reconciliation process in Cloud Run.

int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicExecution.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Execution.Builder
Overrides

clearParallelism()

publicExecution.BuilderclearParallelism()

Output only. Specifies the maximum desired number of tasks the execution should run at any given time. Must be <= task_count. The actual number of tasks running in steady state will be less than this number when ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism.

int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearReconciling()

publicExecution.BuilderclearReconciling()

Output only. Indicates whether the resource's reconciliation is still in progress. See comments in Job.reconciling for additional information on reconciliation process in Cloud Run.

bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearRetriedCount()

publicExecution.BuilderclearRetriedCount()

Output only. The number of tasks which have retried at least once.

int32 retried_count = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearRunningCount()

publicExecution.BuilderclearRunningCount()

Output only. The number of actively running tasks.

int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearSatisfiesPzs()

publicExecution.BuilderclearSatisfiesPzs()

Output only. Reserved for future use.

bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearStartTime()

publicExecution.BuilderclearStartTime()

Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearSucceededCount()

publicExecution.BuilderclearSucceededCount()

Output only. The number of tasks which reached phase Succeeded.

int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearTaskCount()

publicExecution.BuilderclearTaskCount()

Output only. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution.

int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearTemplate()

publicExecution.BuilderclearTemplate()

Output only. The template used to create tasks for this execution.

.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearUid()

publicExecution.BuilderclearUid()

Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearUpdateTime()

publicExecution.BuilderclearUpdateTime()

Output only. The last-modified time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clone()

publicExecution.Builderclone()
Returns
Type Description
Execution.Builder
Overrides

containsAnnotations(String key)

publicbooleancontainsAnnotations(Stringkey)

Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsLabels(String key)

publicbooleancontainsLabels(Stringkey)

Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAnnotations() (deprecated)

publicMap<String,String>getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>

getAnnotationsCount()

publicintgetAnnotationsCount()

Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getAnnotationsMap()

publicMap<String,String>getAnnotationsMap()

Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

publicStringgetAnnotationsOrDefault(Stringkey,StringdefaultValue)

Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAnnotationsOrThrow(String key)

publicStringgetAnnotationsOrThrow(Stringkey)

Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
String

getCancelledCount()

publicintgetCancelledCount()

Output only. The number of tasks which reached phase Cancelled.

int32 cancelled_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The cancelledCount.

getCompletionTime()

publicTimestampgetCompletionTime()

Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The completionTime.

getCompletionTimeBuilder()

publicTimestamp.BuildergetCompletionTimeBuilder()

Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCompletionTimeOrBuilder()

publicTimestampOrBuildergetCompletionTimeOrBuilder()

Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getConditions(int index)

publicConditiongetConditions(intindex)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Condition

getConditionsBuilder(int index)

publicCondition.BuildergetConditionsBuilder(intindex)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Condition.Builder

getConditionsBuilderList()

publicList<Condition.Builder>getConditionsBuilderList()

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getConditionsCount()

publicintgetConditionsCount()

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getConditionsList()

publicList<Condition>getConditionsList()

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Condition>

getConditionsOrBuilder(int index)

publicConditionOrBuildergetConditionsOrBuilder(intindex)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ConditionOrBuilder

getConditionsOrBuilderList()

publicList<?extendsConditionOrBuilder>getConditionsOrBuilderList()

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.run.v2.ConditionOrBuilder>

getCreateTime()

publicTimestampgetCreateTime()

Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

publicTimestamp.BuildergetCreateTimeBuilder()

Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCreator()

publicStringgetCreator()

Output only. Email address of the authenticated creator.

string creator = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The creator.

getCreatorBytes()

publicByteStringgetCreatorBytes()

Output only. Email address of the authenticated creator.

string creator = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for creator.

getDefaultInstanceForType()

publicExecutiongetDefaultInstanceForType()
Returns
Type Description
Execution

getDeleteTime()

publicTimestampgetDeleteTime()

Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The deleteTime.

getDeleteTimeBuilder()

publicTimestamp.BuildergetDeleteTimeBuilder()

Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getDeleteTimeOrBuilder()

publicTimestampOrBuildergetDeleteTimeOrBuilder()

Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEtag()

publicStringgetEtag()

Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The etag.

getEtagBytes()

publicByteStringgetEtagBytes()

Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for etag.

getExpireTime()

publicTimestampgetExpireTime()

Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeBuilder()

publicTimestamp.BuildergetExpireTimeBuilder()

Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getExpireTimeOrBuilder()

publicTimestampOrBuildergetExpireTimeOrBuilder()

Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getFailedCount()

publicintgetFailedCount()

Output only. The number of tasks which reached phase Failed.

int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The failedCount.

getGeneration()

publiclonggetGeneration()

Output only. A number that monotonically increases every time the user modifies the desired state.

int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The generation.

getJob()

publicStringgetJob()

Output only. The name of the parent Job.

string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The job.

getJobBytes()

publicByteStringgetJobBytes()

Output only. The name of the parent Job.

string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for job.

getLabels() (deprecated)

publicMap<String,String>getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

publicintgetLabelsCount()

Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getLabelsMap()

publicMap<String,String>getLabelsMap()

Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

publicStringgetLabelsOrThrow(Stringkey)

Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
String

getLaunchStage()

publicLaunchStagegetLaunchStage()

The least stable launch stage needed to create this resource, as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA.

Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.

.google.api.LaunchStage launch_stage = 11;

Returns
Type Description
com.google.api.LaunchStage

The launchStage.

getLaunchStageValue()

publicintgetLaunchStageValue()

The least stable launch stage needed to create this resource, as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA.

Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.

.google.api.LaunchStage launch_stage = 11;

Returns
Type Description
int

The enum numeric value on the wire for launchStage.

getLogUri()

publicStringgetLogUri()

Output only. URI where logs for this execution can be found in Cloud Console.

string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The logUri.

getLogUriBytes()

publicByteStringgetLogUriBytes()

Output only. URI where logs for this execution can be found in Cloud Console.

string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for logUri.

getMutableAnnotations() (deprecated)

publicMap<String,String>getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableLabels() (deprecated)

publicMap<String,String>getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

publicStringgetName()

Output only. The unique name of this Execution.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Output only. The unique name of this Execution.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getObservedGeneration()

publiclonggetObservedGeneration()

Output only. The generation of this Execution. See comments in reconciling for additional information on reconciliation process in Cloud Run.

int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The observedGeneration.

getParallelism()

publicintgetParallelism()

Output only. Specifies the maximum desired number of tasks the execution should run at any given time. Must be <= task_count. The actual number of tasks running in steady state will be less than this number when ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism.

int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The parallelism.

getReconciling()

publicbooleangetReconciling()

Output only. Indicates whether the resource's reconciliation is still in progress. See comments in Job.reconciling for additional information on reconciliation process in Cloud Run.

bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The reconciling.

getRetriedCount()

publicintgetRetriedCount()

Output only. The number of tasks which have retried at least once.

int32 retried_count = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The retriedCount.

getRunningCount()

publicintgetRunningCount()

Output only. The number of actively running tasks.

int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The runningCount.

getSatisfiesPzs()

publicbooleangetSatisfiesPzs()

Output only. Reserved for future use.

bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The satisfiesPzs.

getStartTime()

publicTimestampgetStartTime()

Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

publicTimestamp.BuildergetStartTimeBuilder()

Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

publicTimestampOrBuildergetStartTimeOrBuilder()

Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getSucceededCount()

publicintgetSucceededCount()

Output only. The number of tasks which reached phase Succeeded.

int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The succeededCount.

getTaskCount()

publicintgetTaskCount()

Output only. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution.

int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The taskCount.

getTemplate()

publicTaskTemplategetTemplate()

Output only. The template used to create tasks for this execution.

.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TaskTemplate

The template.

getTemplateBuilder()

publicTaskTemplate.BuildergetTemplateBuilder()

Output only. The template used to create tasks for this execution.

.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TaskTemplate.Builder

getTemplateOrBuilder()

publicTaskTemplateOrBuildergetTemplateOrBuilder()

Output only. The template used to create tasks for this execution.

.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TaskTemplateOrBuilder

getUid()

publicStringgetUid()

Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uid.

getUidBytes()

publicByteStringgetUidBytes()

Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uid.

getUpdateTime()

publicTimestampgetUpdateTime()

Output only. The last-modified time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

publicTimestamp.BuildergetUpdateTimeBuilder()

Output only. The last-modified time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

publicTimestampOrBuildergetUpdateTimeOrBuilder()

Output only. The last-modified time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCompletionTime()

publicbooleanhasCompletionTime()

Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the completionTime field is set.

hasCreateTime()

publicbooleanhasCreateTime()

Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasDeleteTime()

publicbooleanhasDeleteTime()

Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deleteTime field is set.

hasExpireTime()

publicbooleanhasExpireTime()

Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expireTime field is set.

hasStartTime()

publicbooleanhasStartTime()

Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hasTemplate()

publicbooleanhasTemplate()

Output only. The template used to create tasks for this execution.

.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the template field is set.

hasUpdateTime()

publicbooleanhasUpdateTime()

Output only. The last-modified time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeCompletionTime(Timestamp value)

publicExecution.BuildermergeCompletionTime(Timestampvalue)

Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

mergeCreateTime(Timestamp value)

publicExecution.BuildermergeCreateTime(Timestampvalue)

Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

mergeDeleteTime(Timestamp value)

publicExecution.BuildermergeDeleteTime(Timestampvalue)

Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

mergeExpireTime(Timestamp value)

publicExecution.BuildermergeExpireTime(Timestampvalue)

Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

mergeFrom(Execution other)

publicExecution.BuildermergeFrom(Executionother)
Parameter
Name Description
other Execution
Returns
Type Description
Execution.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

publicExecution.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Execution.Builder
Overrides

mergeStartTime(Timestamp value)

publicExecution.BuildermergeStartTime(Timestampvalue)

Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

mergeTemplate(TaskTemplate value)

publicExecution.BuildermergeTemplate(TaskTemplatevalue)

Output only. The template used to create tasks for this execution.

.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value TaskTemplate
Returns
Type Description
Execution.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalExecution.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Execution.Builder
Overrides

mergeUpdateTime(Timestamp value)

publicExecution.BuildermergeUpdateTime(Timestampvalue)

Output only. The last-modified time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

putAllAnnotations(Map<String,String> values)

publicExecution.BuilderputAllAnnotations(Map<String,String>values)

Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Execution.Builder

putAllLabels(Map<String,String> values)

publicExecution.BuilderputAllLabels(Map<String,String>values)

Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Execution.Builder

putAnnotations(String key, String value)

publicExecution.BuilderputAnnotations(Stringkey,Stringvalue)

Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
value String
Returns
Type Description
Execution.Builder

putLabels(String key, String value)

publicExecution.BuilderputLabels(Stringkey,Stringvalue)

Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
value String
Returns
Type Description
Execution.Builder

removeAnnotations(String key)

publicExecution.BuilderremoveAnnotations(Stringkey)

Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
Execution.Builder

removeConditions(int index)

publicExecution.BuilderremoveConditions(intindex)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Execution.Builder

removeLabels(String key)

publicExecution.BuilderremoveLabels(Stringkey)

Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
Execution.Builder

setCancelledCount(int value)

publicExecution.BuildersetCancelledCount(intvalue)

Output only. The number of tasks which reached phase Cancelled.

int32 cancelled_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The cancelledCount to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setCompletionTime(Timestamp value)

publicExecution.BuildersetCompletionTime(Timestampvalue)

Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

setCompletionTime(Timestamp.Builder builderForValue)

publicExecution.BuildersetCompletionTime(Timestamp.BuilderbuilderForValue)

Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Execution.Builder

setConditions(int index, Condition value)

publicExecution.BuildersetConditions(intindex,Conditionvalue)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Condition
Returns
Type Description
Execution.Builder

setConditions(int index, Condition.Builder builderForValue)

publicExecution.BuildersetConditions(intindex,Condition.BuilderbuilderForValue)

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Condition.Builder
Returns
Type Description
Execution.Builder

setCreateTime(Timestamp value)

publicExecution.BuildersetCreateTime(Timestampvalue)

Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

setCreateTime(Timestamp.Builder builderForValue)

publicExecution.BuildersetCreateTime(Timestamp.BuilderbuilderForValue)

Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Execution.Builder

setCreator(String value)

publicExecution.BuildersetCreator(Stringvalue)

Output only. Email address of the authenticated creator.

string creator = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The creator to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setCreatorBytes(ByteString value)

publicExecution.BuildersetCreatorBytes(ByteStringvalue)

Output only. Email address of the authenticated creator.

string creator = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for creator to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setDeleteTime(Timestamp value)

publicExecution.BuildersetDeleteTime(Timestampvalue)

Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

setDeleteTime(Timestamp.Builder builderForValue)

publicExecution.BuildersetDeleteTime(Timestamp.BuilderbuilderForValue)

Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Execution.Builder

setEtag(String value)

publicExecution.BuildersetEtag(Stringvalue)

Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setEtagBytes(ByteString value)

publicExecution.BuildersetEtagBytes(ByteStringvalue)

Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setExpireTime(Timestamp value)

publicExecution.BuildersetExpireTime(Timestampvalue)

Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

setExpireTime(Timestamp.Builder builderForValue)

publicExecution.BuildersetExpireTime(Timestamp.BuilderbuilderForValue)

Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Execution.Builder

setFailedCount(int value)

publicExecution.BuildersetFailedCount(intvalue)

Output only. The number of tasks which reached phase Failed.

int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The failedCount to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGeneration(long value)

publicExecution.BuildersetGeneration(longvalue)

Output only. A number that monotonically increases every time the user modifies the desired state.

int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The generation to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setJob(String value)

publicExecution.BuildersetJob(Stringvalue)

Output only. The name of the parent Job.

string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The job to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setJobBytes(ByteString value)

publicExecution.BuildersetJobBytes(ByteStringvalue)

Output only. The name of the parent Job.

string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for job to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setLaunchStage(LaunchStage value)

publicExecution.BuildersetLaunchStage(LaunchStagevalue)

The least stable launch stage needed to create this resource, as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA.

Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.

.google.api.LaunchStage launch_stage = 11;

Parameter
Name Description
value com.google.api.LaunchStage

The launchStage to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setLaunchStageValue(int value)

publicExecution.BuildersetLaunchStageValue(intvalue)

The least stable launch stage needed to create this resource, as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA.

Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.

.google.api.LaunchStage launch_stage = 11;

Parameter
Name Description
value int

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

Returns
Type Description
Execution.Builder

This builder for chaining.

setLogUri(String value)

publicExecution.BuildersetLogUri(Stringvalue)

Output only. URI where logs for this execution can be found in Cloud Console.

string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The logUri to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setLogUriBytes(ByteString value)

publicExecution.BuildersetLogUriBytes(ByteStringvalue)

Output only. URI where logs for this execution can be found in Cloud Console.

string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for logUri to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setName(String value)

publicExecution.BuildersetName(Stringvalue)

Output only. The unique name of this Execution.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicExecution.BuildersetNameBytes(ByteStringvalue)

Output only. The unique name of this Execution.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setObservedGeneration(long value)

publicExecution.BuildersetObservedGeneration(longvalue)

Output only. The generation of this Execution. See comments in reconciling for additional information on reconciliation process in Cloud Run.

int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The observedGeneration to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setParallelism(int value)

publicExecution.BuildersetParallelism(intvalue)

Output only. Specifies the maximum desired number of tasks the execution should run at any given time. Must be <= task_count. The actual number of tasks running in steady state will be less than this number when ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism.

int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The parallelism to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setReconciling(boolean value)

publicExecution.BuildersetReconciling(booleanvalue)

Output only. Indicates whether the resource's reconciliation is still in progress. See comments in Job.reconciling for additional information on reconciliation process in Cloud Run.

bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The reconciling to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

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

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

setRetriedCount(int value)

publicExecution.BuildersetRetriedCount(intvalue)

Output only. The number of tasks which have retried at least once.

int32 retried_count = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The retriedCount to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setRunningCount(int value)

publicExecution.BuildersetRunningCount(intvalue)

Output only. The number of actively running tasks.

int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The runningCount to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setSatisfiesPzs(boolean value)

publicExecution.BuildersetSatisfiesPzs(booleanvalue)

Output only. Reserved for future use.

bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The satisfiesPzs to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setStartTime(Timestamp value)

publicExecution.BuildersetStartTime(Timestampvalue)

Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

setStartTime(Timestamp.Builder builderForValue)

publicExecution.BuildersetStartTime(Timestamp.BuilderbuilderForValue)

Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.

.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Execution.Builder

setSucceededCount(int value)

publicExecution.BuildersetSucceededCount(intvalue)

Output only. The number of tasks which reached phase Succeeded.

int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The succeededCount to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setTaskCount(int value)

publicExecution.BuildersetTaskCount(intvalue)

Output only. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution.

int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The taskCount to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setTemplate(TaskTemplate value)

publicExecution.BuildersetTemplate(TaskTemplatevalue)

Output only. The template used to create tasks for this execution.

.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value TaskTemplate
Returns
Type Description
Execution.Builder

setTemplate(TaskTemplate.Builder builderForValue)

publicExecution.BuildersetTemplate(TaskTemplate.BuilderbuilderForValue)

Output only. The template used to create tasks for this execution.

.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setUid(String value)

publicExecution.BuildersetUid(Stringvalue)

Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setUidBytes(ByteString value)

publicExecution.BuildersetUidBytes(ByteStringvalue)

Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalExecution.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Execution.Builder
Overrides

setUpdateTime(Timestamp value)

publicExecution.BuildersetUpdateTime(Timestampvalue)

Output only. The last-modified time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

setUpdateTime(Timestamp.Builder builderForValue)

publicExecution.BuildersetUpdateTime(Timestamp.BuilderbuilderForValue)

Output only. The last-modified time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Execution.Builder

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年10月30日 UTC.