Class ExecutionReference (0.53.0)

public final class ExecutionReference extends GeneratedMessageV3 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 Fields

COMPLETION_STATUS_FIELD_NUMBER

public static final int COMPLETION_STATUS_FIELD_NUMBER
Field Value
Type Description
int

COMPLETION_TIME_FIELD_NUMBER

public static final int COMPLETION_TIME_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DELETE_TIME_FIELD_NUMBER

public static final int DELETE_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExecutionReference getDefaultInstance()
Returns
Type Description
ExecutionReference

getDescriptor()

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

newBuilder()

public static ExecutionReference.Builder newBuilder()
Returns
Type Description
ExecutionReference.Builder

newBuilder(ExecutionReference prototype)

public static ExecutionReference.Builder newBuilder(ExecutionReference prototype)
Parameter
Name Description
prototype ExecutionReference
Returns
Type Description
ExecutionReference.Builder

parseDelimitedFrom(InputStream input)

public static ExecutionReference parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecutionReference
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutionReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionReference
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExecutionReference parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExecutionReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExecutionReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExecutionReference parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExecutionReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExecutionReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExecutionReference parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExecutionReference
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutionReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionReference
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExecutionReference parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecutionReference
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutionReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionReference
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExecutionReference parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExecutionReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExecutionReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionReference
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExecutionReference> parser()
Returns
Type Description
Parser<ExecutionReference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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.

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

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.

getParserForType()

public Parser<ExecutionReference> getParserForType()
Returns
Type Description
Parser<ExecutionReference>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExecutionReference.Builder newBuilderForType()
Returns
Type Description
ExecutionReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExecutionReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExecutionReference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExecutionReference.Builder toBuilder()
Returns
Type Description
ExecutionReference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException