Class Event.Builder (0.11.0)

public static final class Event.Builder extends GeneratedMessageV3.Builder<Event.Builder> implements EventOrBuilder

Carries information about events that occur during pipeline execution.

Protobuf type google.cloud.lifesciences.v2beta.Event

Implements

EventOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Event build()
Returns
TypeDescription
Event

buildPartial()

public Event buildPartial()
Returns
TypeDescription
Event

clear()

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

clearContainerKilled()

public Event.Builder clearContainerKilled()

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

.google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24;

Returns
TypeDescription
Event.Builder

clearContainerStarted()

public Event.Builder clearContainerStarted()

See google.cloud.lifesciences.v2beta.ContainerStartedEvent.

.google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22;

Returns
TypeDescription
Event.Builder

clearContainerStopped()

public Event.Builder clearContainerStopped()

See google.cloud.lifesciences.v2beta.ContainerStoppedEvent.

.google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23;

Returns
TypeDescription
Event.Builder

clearDelayed()

public Event.Builder clearDelayed()

See google.cloud.lifesciences.v2beta.DelayedEvent.

.google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17;

Returns
TypeDescription
Event.Builder

clearDescription()

public Event.Builder clearDescription()

A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the details field.

string description = 2;

Returns
TypeDescription
Event.Builder

This builder for chaining.

clearDetails()

public Event.Builder clearDetails()
Returns
TypeDescription
Event.Builder

clearFailed()

public Event.Builder clearFailed()

See google.cloud.lifesciences.v2beta.FailedEvent.

.google.cloud.lifesciences.v2beta.FailedEvent failed = 26;

Returns
TypeDescription
Event.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPullStarted()

public Event.Builder clearPullStarted()

See google.cloud.lifesciences.v2beta.PullStartedEvent.

.google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20;

Returns
TypeDescription
Event.Builder

clearPullStopped()

public Event.Builder clearPullStopped()

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

.google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21;

Returns
TypeDescription
Event.Builder

clearTimestamp()

public Event.Builder clearTimestamp()

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Returns
TypeDescription
Event.Builder

clearUnexpectedExitStatus()

public Event.Builder clearUnexpectedExitStatus()

See google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent.

.google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25;

Returns
TypeDescription
Event.Builder

clearWorkerAssigned()

public Event.Builder clearWorkerAssigned()

See google.cloud.lifesciences.v2beta.WorkerAssignedEvent.

.google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18;

Returns
TypeDescription
Event.Builder

clearWorkerReleased()

public Event.Builder clearWorkerReleased()

See google.cloud.lifesciences.v2beta.WorkerReleasedEvent.

.google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19;

Returns
TypeDescription
Event.Builder

clone()

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

getContainerKilled()

public ContainerKilledEvent getContainerKilled()

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

.google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24;

Returns
TypeDescription
ContainerKilledEvent

The containerKilled.

getContainerKilledBuilder()

public ContainerKilledEvent.Builder getContainerKilledBuilder()

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

.google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24;

Returns
TypeDescription
ContainerKilledEvent.Builder

getContainerKilledOrBuilder()

public ContainerKilledEventOrBuilder getContainerKilledOrBuilder()

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

.google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24;

Returns
TypeDescription
ContainerKilledEventOrBuilder

getContainerStarted()

public ContainerStartedEvent getContainerStarted()

See google.cloud.lifesciences.v2beta.ContainerStartedEvent.

.google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22;

Returns
TypeDescription
ContainerStartedEvent

The containerStarted.

getContainerStartedBuilder()

public ContainerStartedEvent.Builder getContainerStartedBuilder()

See google.cloud.lifesciences.v2beta.ContainerStartedEvent.

.google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22;

Returns
TypeDescription
ContainerStartedEvent.Builder

getContainerStartedOrBuilder()

public ContainerStartedEventOrBuilder getContainerStartedOrBuilder()

See google.cloud.lifesciences.v2beta.ContainerStartedEvent.

.google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22;

Returns
TypeDescription
ContainerStartedEventOrBuilder

getContainerStopped()

public ContainerStoppedEvent getContainerStopped()

See google.cloud.lifesciences.v2beta.ContainerStoppedEvent.

.google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23;

Returns
TypeDescription
ContainerStoppedEvent

The containerStopped.

getContainerStoppedBuilder()

public ContainerStoppedEvent.Builder getContainerStoppedBuilder()

See google.cloud.lifesciences.v2beta.ContainerStoppedEvent.

.google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23;

Returns
TypeDescription
ContainerStoppedEvent.Builder

getContainerStoppedOrBuilder()

public ContainerStoppedEventOrBuilder getContainerStoppedOrBuilder()

See google.cloud.lifesciences.v2beta.ContainerStoppedEvent.

.google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23;

Returns
TypeDescription
ContainerStoppedEventOrBuilder

getDefaultInstanceForType()

public Event getDefaultInstanceForType()
Returns
TypeDescription
Event

getDelayed()

public DelayedEvent getDelayed()

See google.cloud.lifesciences.v2beta.DelayedEvent.

.google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17;

Returns
TypeDescription
DelayedEvent

The delayed.

getDelayedBuilder()

public DelayedEvent.Builder getDelayedBuilder()

See google.cloud.lifesciences.v2beta.DelayedEvent.

.google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17;

Returns
TypeDescription
DelayedEvent.Builder

getDelayedOrBuilder()

public DelayedEventOrBuilder getDelayedOrBuilder()

See google.cloud.lifesciences.v2beta.DelayedEvent.

.google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17;

Returns
TypeDescription
DelayedEventOrBuilder

getDescription()

public String getDescription()

A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the details field.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the details field.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetailsCase()

public Event.DetailsCase getDetailsCase()
Returns
TypeDescription
Event.DetailsCase

getFailed()

public FailedEvent getFailed()

See google.cloud.lifesciences.v2beta.FailedEvent.

.google.cloud.lifesciences.v2beta.FailedEvent failed = 26;

Returns
TypeDescription
FailedEvent

The failed.

getFailedBuilder()

public FailedEvent.Builder getFailedBuilder()

See google.cloud.lifesciences.v2beta.FailedEvent.

.google.cloud.lifesciences.v2beta.FailedEvent failed = 26;

Returns
TypeDescription
FailedEvent.Builder

getFailedOrBuilder()

public FailedEventOrBuilder getFailedOrBuilder()

See google.cloud.lifesciences.v2beta.FailedEvent.

.google.cloud.lifesciences.v2beta.FailedEvent failed = 26;

Returns
TypeDescription
FailedEventOrBuilder

getPullStarted()

public PullStartedEvent getPullStarted()

See google.cloud.lifesciences.v2beta.PullStartedEvent.

.google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20;

Returns
TypeDescription
PullStartedEvent

The pullStarted.

getPullStartedBuilder()

public PullStartedEvent.Builder getPullStartedBuilder()

See google.cloud.lifesciences.v2beta.PullStartedEvent.

.google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20;

Returns
TypeDescription
PullStartedEvent.Builder

getPullStartedOrBuilder()

public PullStartedEventOrBuilder getPullStartedOrBuilder()

See google.cloud.lifesciences.v2beta.PullStartedEvent.

.google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20;

Returns
TypeDescription
PullStartedEventOrBuilder

getPullStopped()

public PullStoppedEvent getPullStopped()

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

.google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21;

Returns
TypeDescription
PullStoppedEvent

The pullStopped.

getPullStoppedBuilder()

public PullStoppedEvent.Builder getPullStoppedBuilder()

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

.google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21;

Returns
TypeDescription
PullStoppedEvent.Builder

getPullStoppedOrBuilder()

public PullStoppedEventOrBuilder getPullStoppedOrBuilder()

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

.google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21;

Returns
TypeDescription
PullStoppedEventOrBuilder

getTimestamp()

public Timestamp getTimestamp()

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Returns
TypeDescription
Timestamp

The timestamp.

getTimestampBuilder()

public Timestamp.Builder getTimestampBuilder()

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Returns
TypeDescription
Builder

getTimestampOrBuilder()

public TimestampOrBuilder getTimestampOrBuilder()

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Returns
TypeDescription
TimestampOrBuilder

getUnexpectedExitStatus()

public UnexpectedExitStatusEvent getUnexpectedExitStatus()

See google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent.

.google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25;

Returns
TypeDescription
UnexpectedExitStatusEvent

The unexpectedExitStatus.

getUnexpectedExitStatusBuilder()

public UnexpectedExitStatusEvent.Builder getUnexpectedExitStatusBuilder()

See google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent.

.google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25;

Returns
TypeDescription
UnexpectedExitStatusEvent.Builder

getUnexpectedExitStatusOrBuilder()

public UnexpectedExitStatusEventOrBuilder getUnexpectedExitStatusOrBuilder()

See google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent.

.google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25;

Returns
TypeDescription
UnexpectedExitStatusEventOrBuilder

getWorkerAssigned()

public WorkerAssignedEvent getWorkerAssigned()

See google.cloud.lifesciences.v2beta.WorkerAssignedEvent.

.google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18;

Returns
TypeDescription
WorkerAssignedEvent

The workerAssigned.

getWorkerAssignedBuilder()

public WorkerAssignedEvent.Builder getWorkerAssignedBuilder()

See google.cloud.lifesciences.v2beta.WorkerAssignedEvent.

.google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18;

Returns
TypeDescription
WorkerAssignedEvent.Builder

getWorkerAssignedOrBuilder()

public WorkerAssignedEventOrBuilder getWorkerAssignedOrBuilder()

See google.cloud.lifesciences.v2beta.WorkerAssignedEvent.

.google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18;

Returns
TypeDescription
WorkerAssignedEventOrBuilder

getWorkerReleased()

public WorkerReleasedEvent getWorkerReleased()

See google.cloud.lifesciences.v2beta.WorkerReleasedEvent.

.google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19;

Returns
TypeDescription
WorkerReleasedEvent

The workerReleased.

getWorkerReleasedBuilder()

public WorkerReleasedEvent.Builder getWorkerReleasedBuilder()

See google.cloud.lifesciences.v2beta.WorkerReleasedEvent.

.google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19;

Returns
TypeDescription
WorkerReleasedEvent.Builder

getWorkerReleasedOrBuilder()

public WorkerReleasedEventOrBuilder getWorkerReleasedOrBuilder()

See google.cloud.lifesciences.v2beta.WorkerReleasedEvent.

.google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19;

Returns
TypeDescription
WorkerReleasedEventOrBuilder

hasContainerKilled()

public boolean hasContainerKilled()

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

.google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24;

Returns
TypeDescription
boolean

Whether the containerKilled field is set.

hasContainerStarted()

public boolean hasContainerStarted()

See google.cloud.lifesciences.v2beta.ContainerStartedEvent.

.google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22;

Returns
TypeDescription
boolean

Whether the containerStarted field is set.

hasContainerStopped()

public boolean hasContainerStopped()

See google.cloud.lifesciences.v2beta.ContainerStoppedEvent.

.google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23;

Returns
TypeDescription
boolean

Whether the containerStopped field is set.

hasDelayed()

public boolean hasDelayed()

See google.cloud.lifesciences.v2beta.DelayedEvent.

.google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17;

Returns
TypeDescription
boolean

Whether the delayed field is set.

hasFailed()

public boolean hasFailed()

See google.cloud.lifesciences.v2beta.FailedEvent.

.google.cloud.lifesciences.v2beta.FailedEvent failed = 26;

Returns
TypeDescription
boolean

Whether the failed field is set.

hasPullStarted()

public boolean hasPullStarted()

See google.cloud.lifesciences.v2beta.PullStartedEvent.

.google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20;

Returns
TypeDescription
boolean

Whether the pullStarted field is set.

hasPullStopped()

public boolean hasPullStopped()

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

.google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21;

Returns
TypeDescription
boolean

Whether the pullStopped field is set.

hasTimestamp()

public boolean hasTimestamp()

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Returns
TypeDescription
boolean

Whether the timestamp field is set.

hasUnexpectedExitStatus()

public boolean hasUnexpectedExitStatus()

See google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent.

.google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25;

Returns
TypeDescription
boolean

Whether the unexpectedExitStatus field is set.

hasWorkerAssigned()

public boolean hasWorkerAssigned()

See google.cloud.lifesciences.v2beta.WorkerAssignedEvent.

.google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18;

Returns
TypeDescription
boolean

Whether the workerAssigned field is set.

hasWorkerReleased()

public boolean hasWorkerReleased()

See google.cloud.lifesciences.v2beta.WorkerReleasedEvent.

.google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19;

Returns
TypeDescription
boolean

Whether the workerReleased field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeContainerKilled(ContainerKilledEvent value)

public Event.Builder mergeContainerKilled(ContainerKilledEvent value)

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

.google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24;

Parameter
NameDescription
valueContainerKilledEvent
Returns
TypeDescription
Event.Builder

mergeContainerStarted(ContainerStartedEvent value)

public Event.Builder mergeContainerStarted(ContainerStartedEvent value)

See google.cloud.lifesciences.v2beta.ContainerStartedEvent.

.google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22;

Parameter
NameDescription
valueContainerStartedEvent
Returns
TypeDescription
Event.Builder

mergeContainerStopped(ContainerStoppedEvent value)

public Event.Builder mergeContainerStopped(ContainerStoppedEvent value)

See google.cloud.lifesciences.v2beta.ContainerStoppedEvent.

.google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23;

Parameter
NameDescription
valueContainerStoppedEvent
Returns
TypeDescription
Event.Builder

mergeDelayed(DelayedEvent value)

public Event.Builder mergeDelayed(DelayedEvent value)

See google.cloud.lifesciences.v2beta.DelayedEvent.

.google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17;

Parameter
NameDescription
valueDelayedEvent
Returns
TypeDescription
Event.Builder

mergeFailed(FailedEvent value)

public Event.Builder mergeFailed(FailedEvent value)

See google.cloud.lifesciences.v2beta.FailedEvent.

.google.cloud.lifesciences.v2beta.FailedEvent failed = 26;

Parameter
NameDescription
valueFailedEvent
Returns
TypeDescription
Event.Builder

mergeFrom(Event other)

public Event.Builder mergeFrom(Event other)
Parameter
NameDescription
otherEvent
Returns
TypeDescription
Event.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePullStarted(PullStartedEvent value)

public Event.Builder mergePullStarted(PullStartedEvent value)

See google.cloud.lifesciences.v2beta.PullStartedEvent.

.google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20;

Parameter
NameDescription
valuePullStartedEvent
Returns
TypeDescription
Event.Builder

mergePullStopped(PullStoppedEvent value)

public Event.Builder mergePullStopped(PullStoppedEvent value)

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

.google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21;

Parameter
NameDescription
valuePullStoppedEvent
Returns
TypeDescription
Event.Builder

mergeTimestamp(Timestamp value)

public Event.Builder mergeTimestamp(Timestamp value)

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Event.Builder

mergeUnexpectedExitStatus(UnexpectedExitStatusEvent value)

public Event.Builder mergeUnexpectedExitStatus(UnexpectedExitStatusEvent value)

See google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent.

.google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25;

Parameter
NameDescription
valueUnexpectedExitStatusEvent
Returns
TypeDescription
Event.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWorkerAssigned(WorkerAssignedEvent value)

public Event.Builder mergeWorkerAssigned(WorkerAssignedEvent value)

See google.cloud.lifesciences.v2beta.WorkerAssignedEvent.

.google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18;

Parameter
NameDescription
valueWorkerAssignedEvent
Returns
TypeDescription
Event.Builder

mergeWorkerReleased(WorkerReleasedEvent value)

public Event.Builder mergeWorkerReleased(WorkerReleasedEvent value)

See google.cloud.lifesciences.v2beta.WorkerReleasedEvent.

.google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19;

Parameter
NameDescription
valueWorkerReleasedEvent
Returns
TypeDescription
Event.Builder

setContainerKilled(ContainerKilledEvent value)

public Event.Builder setContainerKilled(ContainerKilledEvent value)

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

.google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24;

Parameter
NameDescription
valueContainerKilledEvent
Returns
TypeDescription
Event.Builder

setContainerKilled(ContainerKilledEvent.Builder builderForValue)

public Event.Builder setContainerKilled(ContainerKilledEvent.Builder builderForValue)

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

.google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24;

Parameter
NameDescription
builderForValueContainerKilledEvent.Builder
Returns
TypeDescription
Event.Builder

setContainerStarted(ContainerStartedEvent value)

public Event.Builder setContainerStarted(ContainerStartedEvent value)

See google.cloud.lifesciences.v2beta.ContainerStartedEvent.

.google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22;

Parameter
NameDescription
valueContainerStartedEvent
Returns
TypeDescription
Event.Builder

setContainerStarted(ContainerStartedEvent.Builder builderForValue)

public Event.Builder setContainerStarted(ContainerStartedEvent.Builder builderForValue)

See google.cloud.lifesciences.v2beta.ContainerStartedEvent.

.google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22;

Parameter
NameDescription
builderForValueContainerStartedEvent.Builder
Returns
TypeDescription
Event.Builder

setContainerStopped(ContainerStoppedEvent value)

public Event.Builder setContainerStopped(ContainerStoppedEvent value)

See google.cloud.lifesciences.v2beta.ContainerStoppedEvent.

.google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23;

Parameter
NameDescription
valueContainerStoppedEvent
Returns
TypeDescription
Event.Builder

setContainerStopped(ContainerStoppedEvent.Builder builderForValue)

public Event.Builder setContainerStopped(ContainerStoppedEvent.Builder builderForValue)

See google.cloud.lifesciences.v2beta.ContainerStoppedEvent.

.google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23;

Parameter
NameDescription
builderForValueContainerStoppedEvent.Builder
Returns
TypeDescription
Event.Builder

setDelayed(DelayedEvent value)

public Event.Builder setDelayed(DelayedEvent value)

See google.cloud.lifesciences.v2beta.DelayedEvent.

.google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17;

Parameter
NameDescription
valueDelayedEvent
Returns
TypeDescription
Event.Builder

setDelayed(DelayedEvent.Builder builderForValue)

public Event.Builder setDelayed(DelayedEvent.Builder builderForValue)

See google.cloud.lifesciences.v2beta.DelayedEvent.

.google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17;

Parameter
NameDescription
builderForValueDelayedEvent.Builder
Returns
TypeDescription
Event.Builder

setDescription(String value)

public Event.Builder setDescription(String value)

A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the details field.

string description = 2;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Event.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Event.Builder setDescriptionBytes(ByteString value)

A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the details field.

string description = 2;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Event.Builder

This builder for chaining.

setFailed(FailedEvent value)

public Event.Builder setFailed(FailedEvent value)

See google.cloud.lifesciences.v2beta.FailedEvent.

.google.cloud.lifesciences.v2beta.FailedEvent failed = 26;

Parameter
NameDescription
valueFailedEvent
Returns
TypeDescription
Event.Builder

setFailed(FailedEvent.Builder builderForValue)

public Event.Builder setFailed(FailedEvent.Builder builderForValue)

See google.cloud.lifesciences.v2beta.FailedEvent.

.google.cloud.lifesciences.v2beta.FailedEvent failed = 26;

Parameter
NameDescription
builderForValueFailedEvent.Builder
Returns
TypeDescription
Event.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPullStarted(PullStartedEvent value)

public Event.Builder setPullStarted(PullStartedEvent value)

See google.cloud.lifesciences.v2beta.PullStartedEvent.

.google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20;

Parameter
NameDescription
valuePullStartedEvent
Returns
TypeDescription
Event.Builder

setPullStarted(PullStartedEvent.Builder builderForValue)

public Event.Builder setPullStarted(PullStartedEvent.Builder builderForValue)

See google.cloud.lifesciences.v2beta.PullStartedEvent.

.google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20;

Parameter
NameDescription
builderForValuePullStartedEvent.Builder
Returns
TypeDescription
Event.Builder

setPullStopped(PullStoppedEvent value)

public Event.Builder setPullStopped(PullStoppedEvent value)

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

.google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21;

Parameter
NameDescription
valuePullStoppedEvent
Returns
TypeDescription
Event.Builder

setPullStopped(PullStoppedEvent.Builder builderForValue)

public Event.Builder setPullStopped(PullStoppedEvent.Builder builderForValue)

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

.google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21;

Parameter
NameDescription
builderForValuePullStoppedEvent.Builder
Returns
TypeDescription
Event.Builder

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

public Event.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Event.Builder
Overrides

setTimestamp(Timestamp value)

public Event.Builder setTimestamp(Timestamp value)

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Event.Builder

setTimestamp(Timestamp.Builder builderForValue)

public Event.Builder setTimestamp(Timestamp.Builder builderForValue)

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Event.Builder

setUnexpectedExitStatus(UnexpectedExitStatusEvent value)

public Event.Builder setUnexpectedExitStatus(UnexpectedExitStatusEvent value)

See google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent.

.google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25;

Parameter
NameDescription
valueUnexpectedExitStatusEvent
Returns
TypeDescription
Event.Builder

setUnexpectedExitStatus(UnexpectedExitStatusEvent.Builder builderForValue)

public Event.Builder setUnexpectedExitStatus(UnexpectedExitStatusEvent.Builder builderForValue)

See google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent.

.google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25;

Parameter
NameDescription
builderForValueUnexpectedExitStatusEvent.Builder
Returns
TypeDescription
Event.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setWorkerAssigned(WorkerAssignedEvent value)

public Event.Builder setWorkerAssigned(WorkerAssignedEvent value)

See google.cloud.lifesciences.v2beta.WorkerAssignedEvent.

.google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18;

Parameter
NameDescription
valueWorkerAssignedEvent
Returns
TypeDescription
Event.Builder

setWorkerAssigned(WorkerAssignedEvent.Builder builderForValue)

public Event.Builder setWorkerAssigned(WorkerAssignedEvent.Builder builderForValue)

See google.cloud.lifesciences.v2beta.WorkerAssignedEvent.

.google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18;

Parameter
NameDescription
builderForValueWorkerAssignedEvent.Builder
Returns
TypeDescription
Event.Builder

setWorkerReleased(WorkerReleasedEvent value)

public Event.Builder setWorkerReleased(WorkerReleasedEvent value)

See google.cloud.lifesciences.v2beta.WorkerReleasedEvent.

.google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19;

Parameter
NameDescription
valueWorkerReleasedEvent
Returns
TypeDescription
Event.Builder

setWorkerReleased(WorkerReleasedEvent.Builder builderForValue)

public Event.Builder setWorkerReleased(WorkerReleasedEvent.Builder builderForValue)

See google.cloud.lifesciences.v2beta.WorkerReleasedEvent.

.google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19;

Parameter
NameDescription
builderForValueWorkerReleasedEvent.Builder
Returns
TypeDescription
Event.Builder