Class Event (0.50.0)

public final class Event extends GeneratedMessageV3 implements EventOrBuilder

Carries information about events that occur during pipeline execution.

Protobuf type google.cloud.lifesciences.v2beta.Event

Implements

EventOrBuilder

Static Fields

CONTAINER_KILLED_FIELD_NUMBER

public static final int CONTAINER_KILLED_FIELD_NUMBER
Field Value
Type Description
int

CONTAINER_STARTED_FIELD_NUMBER

public static final int CONTAINER_STARTED_FIELD_NUMBER
Field Value
Type Description
int

CONTAINER_STOPPED_FIELD_NUMBER

public static final int CONTAINER_STOPPED_FIELD_NUMBER
Field Value
Type Description
int

DELAYED_FIELD_NUMBER

public static final int DELAYED_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

FAILED_FIELD_NUMBER

public static final int FAILED_FIELD_NUMBER
Field Value
Type Description
int

PULL_STARTED_FIELD_NUMBER

public static final int PULL_STARTED_FIELD_NUMBER
Field Value
Type Description
int

PULL_STOPPED_FIELD_NUMBER

public static final int PULL_STOPPED_FIELD_NUMBER
Field Value
Type Description
int

TIMESTAMP_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

UNEXPECTED_EXIT_STATUS_FIELD_NUMBER

public static final int UNEXPECTED_EXIT_STATUS_FIELD_NUMBER
Field Value
Type Description
int

WORKER_ASSIGNED_FIELD_NUMBER

public static final int WORKER_ASSIGNED_FIELD_NUMBER
Field Value
Type Description
int

WORKER_RELEASED_FIELD_NUMBER

public static final int WORKER_RELEASED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Event getDefaultInstance()
Returns
Type Description
Event

getDescriptor()

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

newBuilder()

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

newBuilder(Event prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContainerKilled()

public ContainerKilledEvent getContainerKilled()

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

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

Returns
Type Description
ContainerKilledEvent

The containerKilled.

getContainerKilledOrBuilder()

public ContainerKilledEventOrBuilder getContainerKilledOrBuilder()

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

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

Returns
Type Description
ContainerKilledEventOrBuilder

getContainerStarted()

public ContainerStartedEvent getContainerStarted()

See google.cloud.lifesciences.v2beta.ContainerStartedEvent.

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

Returns
Type Description
ContainerStartedEvent

The containerStarted.

getContainerStartedOrBuilder()

public ContainerStartedEventOrBuilder getContainerStartedOrBuilder()

See google.cloud.lifesciences.v2beta.ContainerStartedEvent.

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

Returns
Type Description
ContainerStartedEventOrBuilder

getContainerStopped()

public ContainerStoppedEvent getContainerStopped()

See google.cloud.lifesciences.v2beta.ContainerStoppedEvent.

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

Returns
Type Description
ContainerStoppedEvent

The containerStopped.

getContainerStoppedOrBuilder()

public ContainerStoppedEventOrBuilder getContainerStoppedOrBuilder()

See google.cloud.lifesciences.v2beta.ContainerStoppedEvent.

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

Returns
Type Description
ContainerStoppedEventOrBuilder

getDefaultInstanceForType()

public Event getDefaultInstanceForType()
Returns
Type Description
Event

getDelayed()

public DelayedEvent getDelayed()

See google.cloud.lifesciences.v2beta.DelayedEvent.

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

Returns
Type Description
DelayedEvent

The delayed.

getDelayedOrBuilder()

public DelayedEventOrBuilder getDelayedOrBuilder()

See google.cloud.lifesciences.v2beta.DelayedEvent.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for description.

getDetailsCase()

public Event.DetailsCase getDetailsCase()
Returns
Type Description
Event.DetailsCase

getFailed()

public FailedEvent getFailed()

See google.cloud.lifesciences.v2beta.FailedEvent.

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

Returns
Type Description
FailedEvent

The failed.

getFailedOrBuilder()

public FailedEventOrBuilder getFailedOrBuilder()

See google.cloud.lifesciences.v2beta.FailedEvent.

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

Returns
Type Description
FailedEventOrBuilder

getParserForType()

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

getPullStarted()

public PullStartedEvent getPullStarted()

See google.cloud.lifesciences.v2beta.PullStartedEvent.

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

Returns
Type Description
PullStartedEvent

The pullStarted.

getPullStartedOrBuilder()

public PullStartedEventOrBuilder getPullStartedOrBuilder()

See google.cloud.lifesciences.v2beta.PullStartedEvent.

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

Returns
Type Description
PullStartedEventOrBuilder

getPullStopped()

public PullStoppedEvent getPullStopped()

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

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

Returns
Type Description
PullStoppedEvent

The pullStopped.

getPullStoppedOrBuilder()

public PullStoppedEventOrBuilder getPullStoppedOrBuilder()

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

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

Returns
Type Description
PullStoppedEventOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTimestamp()

public Timestamp getTimestamp()

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Returns
Type Description
Timestamp

The timestamp.

getTimestampOrBuilder()

public TimestampOrBuilder getTimestampOrBuilder()

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Returns
Type Description
TimestampOrBuilder

getUnexpectedExitStatus()

public UnexpectedExitStatusEvent getUnexpectedExitStatus()

See google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent.

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

Returns
Type Description
UnexpectedExitStatusEvent

The unexpectedExitStatus.

getUnexpectedExitStatusOrBuilder()

public UnexpectedExitStatusEventOrBuilder getUnexpectedExitStatusOrBuilder()

See google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent.

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

Returns
Type Description
UnexpectedExitStatusEventOrBuilder

getWorkerAssigned()

public WorkerAssignedEvent getWorkerAssigned()

See google.cloud.lifesciences.v2beta.WorkerAssignedEvent.

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

Returns
Type Description
WorkerAssignedEvent

The workerAssigned.

getWorkerAssignedOrBuilder()

public WorkerAssignedEventOrBuilder getWorkerAssignedOrBuilder()

See google.cloud.lifesciences.v2beta.WorkerAssignedEvent.

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

Returns
Type Description
WorkerAssignedEventOrBuilder

getWorkerReleased()

public WorkerReleasedEvent getWorkerReleased()

See google.cloud.lifesciences.v2beta.WorkerReleasedEvent.

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

Returns
Type Description
WorkerReleasedEvent

The workerReleased.

getWorkerReleasedOrBuilder()

public WorkerReleasedEventOrBuilder getWorkerReleasedOrBuilder()

See google.cloud.lifesciences.v2beta.WorkerReleasedEvent.

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

Returns
Type Description
WorkerReleasedEventOrBuilder

hasContainerKilled()

public boolean hasContainerKilled()

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the pullStopped field is set.

hasTimestamp()

public boolean hasTimestamp()

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the workerReleased 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 Event.Builder newBuilderForType()
Returns
Type Description
Event.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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