Class ExecutionReference.Builder (0.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExecutionReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExecutionReference.Builder
Overrides

build()

public ExecutionReference build()
Returns
TypeDescription
ExecutionReference

buildPartial()

public ExecutionReference buildPartial()
Returns
TypeDescription
ExecutionReference

clear()

public ExecutionReference.Builder clear()
Returns
TypeDescription
ExecutionReference.Builder
Overrides

clearCompletionTime()

public ExecutionReference.Builder clearCompletionTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Returns
TypeDescription
ExecutionReference.Builder

clearCreateTime()

public ExecutionReference.Builder clearCreateTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
ExecutionReference.Builder

clearField(Descriptors.FieldDescriptor field)

public ExecutionReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExecutionReference.Builder
Overrides

clearName()

public ExecutionReference.Builder clearName()

Name of the execution.

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

Returns
TypeDescription
ExecutionReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExecutionReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExecutionReference.Builder
Overrides

clone()

public ExecutionReference.Builder clone()
Returns
TypeDescription
ExecutionReference.Builder
Overrides

getCompletionTime()

public Timestamp getCompletionTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Returns
TypeDescription
Timestamp

The completionTime.

getCompletionTimeBuilder()

public Timestamp.Builder getCompletionTimeBuilder()

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Returns
TypeDescription
Builder

getCompletionTimeOrBuilder()

public TimestampOrBuilder getCompletionTimeOrBuilder()

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ExecutionReference getDefaultInstanceForType()
Returns
TypeDescription
ExecutionReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the execution.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the execution.

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

Returns
TypeDescription
ByteString

The bytes for name.

hasCompletionTime()

public boolean hasCompletionTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Returns
TypeDescription
boolean

Whether the completionTime field is set.

hasCreateTime()

public boolean hasCreateTime()

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCompletionTime(Timestamp value)

public ExecutionReference.Builder mergeCompletionTime(Timestamp value)

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExecutionReference.Builder

mergeCreateTime(Timestamp value)

public ExecutionReference.Builder mergeCreateTime(Timestamp value)

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExecutionReference.Builder

mergeFrom(ExecutionReference other)

public ExecutionReference.Builder mergeFrom(ExecutionReference other)
Parameter
NameDescription
otherExecutionReference
Returns
TypeDescription
ExecutionReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExecutionReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExecutionReference.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExecutionReference.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExecutionReference.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExecutionReference.Builder
Overrides

setCompletionTime(Timestamp value)

public ExecutionReference.Builder setCompletionTime(Timestamp value)

Creation timestamp of the execution.

.google.protobuf.Timestamp completion_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ExecutionReference.Builder

setCreateTime(Timestamp value)

public ExecutionReference.Builder setCreateTime(Timestamp value)

Creation timestamp of the execution.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ExecutionReference.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExecutionReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExecutionReference.Builder
Overrides

setName(String value)

public ExecutionReference.Builder setName(String value)

Name of the execution.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExecutionReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExecutionReference.Builder
Overrides