Class Event (0.35.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
TypeDescription
int

CONTAINER_STARTED_FIELD_NUMBER

public static final int CONTAINER_STARTED_FIELD_NUMBER
Field Value
TypeDescription
int

CONTAINER_STOPPED_FIELD_NUMBER

public static final int CONTAINER_STOPPED_FIELD_NUMBER
Field Value
TypeDescription
int

DELAYED_FIELD_NUMBER

public static final int DELAYED_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

FAILED_FIELD_NUMBER

public static final int FAILED_FIELD_NUMBER
Field Value
TypeDescription
int

PULL_STARTED_FIELD_NUMBER

public static final int PULL_STARTED_FIELD_NUMBER
Field Value
TypeDescription
int

PULL_STOPPED_FIELD_NUMBER

public static final int PULL_STOPPED_FIELD_NUMBER
Field Value
TypeDescription
int

TIMESTAMP_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_NUMBER
Field Value
TypeDescription
int

UNEXPECTED_EXIT_STATUS_FIELD_NUMBER

public static final int UNEXPECTED_EXIT_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

WORKER_ASSIGNED_FIELD_NUMBER

public static final int WORKER_ASSIGNED_FIELD_NUMBER
Field Value
TypeDescription
int

WORKER_RELEASED_FIELD_NUMBER

public static final int WORKER_RELEASED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Event getDefaultInstance()
Returns
TypeDescription
Event

getDescriptor()

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

newBuilder()

public static Event.Builder newBuilder()
Returns
TypeDescription
Event.Builder

newBuilder(Event prototype)

public static Event.Builder newBuilder(Event prototype)
Parameter
NameDescription
prototypeEvent
Returns
TypeDescription
Event.Builder

parseDelimitedFrom(InputStream input)

public static Event parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Event
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Event parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Event parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Event
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Event parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Event parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Event
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Event parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Event parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Event
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Event parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Event parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Event
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Event parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Event parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Event
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Event parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Event> parser()
Returns
TypeDescription
Parser<Event>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getContainerKilled()

public ContainerKilledEvent getContainerKilled()

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

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

Returns
TypeDescription
ContainerKilledEvent

The containerKilled.

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.

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.

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.

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.

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.

getFailedOrBuilder()

public FailedEventOrBuilder getFailedOrBuilder()

See google.cloud.lifesciences.v2beta.FailedEvent.

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

Returns
TypeDescription
FailedEventOrBuilder

getParserForType()

public Parser<Event> getParserForType()
Returns
TypeDescription
Parser<Event>
Overrides

getPullStarted()

public PullStartedEvent getPullStarted()

See google.cloud.lifesciences.v2beta.PullStartedEvent.

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

Returns
TypeDescription
PullStartedEvent

The pullStarted.

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.

getPullStoppedOrBuilder()

public PullStoppedEventOrBuilder getPullStoppedOrBuilder()

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

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

Returns
TypeDescription
PullStoppedEventOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimestamp()

public Timestamp getTimestamp()

The time at which the event occurred.

.google.protobuf.Timestamp timestamp = 1;

Returns
TypeDescription
Timestamp

The timestamp.

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.

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.

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Event.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Event.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException