Class ExecutionReference.Builder (0.48.0)

public static final class ExecutionReference.Builder extends GeneratedMessageV3.Builder<ExecutionReference.Builder> implements ExecutionReferenceOrBuilder

Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status.

Protobuf type google.cloud.run.v2.ExecutionReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExecutionReference build()
Returns
Type Description
ExecutionReference

buildPartial()

public ExecutionReference buildPartial()
Returns
Type Description
ExecutionReference

clear()

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

clearCompletionStatus()

public ExecutionReference.Builder clearCompletionStatus()

Status for the execution completion.

.google.cloud.run.v2.ExecutionReference.CompletionStatus completion_status = 4;

Returns
Type Description
ExecutionReference.Builder

This builder for chaining.

clearCompletionTime()

public ExecutionReference.Builder clearCompletionTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Returns
Type Description
ExecutionReference.Builder

clearCreateTime()

public ExecutionReference.Builder clearCreateTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
ExecutionReference.Builder

clearDeleteTime()

public ExecutionReference.Builder clearDeleteTime()

The deletion time of the execution. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 5;

Returns
Type Description
ExecutionReference.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ExecutionReference.Builder clearName()

Name of the execution.

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

Returns
Type Description
ExecutionReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCompletionStatus()

public ExecutionReference.CompletionStatus getCompletionStatus()

Status for the execution completion.

.google.cloud.run.v2.ExecutionReference.CompletionStatus completion_status = 4;

Returns
Type Description
ExecutionReference.CompletionStatus

The completionStatus.

getCompletionStatusValue()

public int getCompletionStatusValue()

Status for the execution completion.

.google.cloud.run.v2.ExecutionReference.CompletionStatus completion_status = 4;

Returns
Type Description
int

The enum numeric value on the wire for completionStatus.

getCompletionTime()

public Timestamp getCompletionTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Returns
Type Description
Timestamp

The completionTime.

getCompletionTimeBuilder()

public Timestamp.Builder getCompletionTimeBuilder()

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Returns
Type Description
Builder

getCompletionTimeOrBuilder()

public TimestampOrBuilder getCompletionTimeOrBuilder()

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Returns
Type Description
TimestampOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ExecutionReference getDefaultInstanceForType()
Returns
Type Description
ExecutionReference

getDeleteTime()

public Timestamp getDeleteTime()

The deletion time of the execution. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 5;

Returns
Type Description
Timestamp

The deleteTime.

getDeleteTimeBuilder()

public Timestamp.Builder getDeleteTimeBuilder()

The deletion time of the execution. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 5;

Returns
Type Description
Builder

getDeleteTimeOrBuilder()

public TimestampOrBuilder getDeleteTimeOrBuilder()

The deletion time of the execution. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 5;

Returns
Type Description
TimestampOrBuilder

getDescriptorForType()

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

getName()

public String getName()

Name of the execution.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the execution.

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

Returns
Type Description
ByteString

The bytes for name.

hasCompletionTime()

public boolean hasCompletionTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Returns
Type Description
boolean

Whether the completionTime field is set.

hasCreateTime()

public boolean hasCreateTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDeleteTime()

public boolean hasDeleteTime()

The deletion time of the execution. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 5;

Returns
Type Description
boolean

Whether the deleteTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCompletionTime(Timestamp value)

public ExecutionReference.Builder mergeCompletionTime(Timestamp value)

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecutionReference.Builder

mergeCreateTime(Timestamp value)

public ExecutionReference.Builder mergeCreateTime(Timestamp value)

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecutionReference.Builder

mergeDeleteTime(Timestamp value)

public ExecutionReference.Builder mergeDeleteTime(Timestamp value)

The deletion time of the execution. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 5;

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecutionReference.Builder

mergeFrom(ExecutionReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCompletionStatus(ExecutionReference.CompletionStatus value)

public ExecutionReference.Builder setCompletionStatus(ExecutionReference.CompletionStatus value)

Status for the execution completion.

.google.cloud.run.v2.ExecutionReference.CompletionStatus completion_status = 4;

Parameter
Name Description
value ExecutionReference.CompletionStatus

The completionStatus to set.

Returns
Type Description
ExecutionReference.Builder

This builder for chaining.

setCompletionStatusValue(int value)

public ExecutionReference.Builder setCompletionStatusValue(int value)

Status for the execution completion.

.google.cloud.run.v2.ExecutionReference.CompletionStatus completion_status = 4;

Parameter
Name Description
value int

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

Returns
Type Description
ExecutionReference.Builder

This builder for chaining.

setCompletionTime(Timestamp value)

public ExecutionReference.Builder setCompletionTime(Timestamp value)

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecutionReference.Builder

setCompletionTime(Timestamp.Builder builderForValue)

public ExecutionReference.Builder setCompletionTime(Timestamp.Builder builderForValue)

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExecutionReference.Builder

setCreateTime(Timestamp value)

public ExecutionReference.Builder setCreateTime(Timestamp value)

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecutionReference.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ExecutionReference.Builder setCreateTime(Timestamp.Builder builderForValue)

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExecutionReference.Builder

setDeleteTime(Timestamp value)

public ExecutionReference.Builder setDeleteTime(Timestamp value)

The deletion time of the execution. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 5;

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecutionReference.Builder

setDeleteTime(Timestamp.Builder builderForValue)

public ExecutionReference.Builder setDeleteTime(Timestamp.Builder builderForValue)

The deletion time of the execution. It is only populated as a response to a Delete request.

.google.protobuf.Timestamp delete_time = 5;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExecutionReference.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ExecutionReference.Builder setName(String value)

Name of the execution.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ExecutionReference.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExecutionReference.Builder setNameBytes(ByteString value)

Name of the execution.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ExecutionReference.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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