public static final class ExecutionReference.Builder extends GeneratedMessage.Builder<ExecutionReference.Builder> implements ExecutionReferenceOrBuilderReference 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExecutionReference.BuilderImplements
ExecutionReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExecutionReference.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExecutionReference.Builder |
|
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.CompletionStatusThe 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 |
intThe 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 |
|
setName(String value)
public ExecutionReference.Builder setName(String value)Name of the execution.
string name = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ExecutionReference.Builder |
This builder for chaining. |