Class DelayedEvent (0.46.0)

public final class DelayedEvent extends GeneratedMessageV3 implements DelayedEventOrBuilder

An event generated whenever a resource limitation or transient error delays execution of a pipeline that was otherwise ready to run.

Protobuf type google.cloud.lifesciences.v2beta.DelayedEvent

Static Fields

CAUSE_FIELD_NUMBER

public static final int CAUSE_FIELD_NUMBER
Field Value
Type Description
int

METRICS_FIELD_NUMBER

public static final int METRICS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DelayedEvent getDefaultInstance()
Returns
Type Description
DelayedEvent

getDescriptor()

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

newBuilder()

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

newBuilder(DelayedEvent prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCause()

public String getCause()

A textual description of the cause of the delay. The string can change without notice because it is often generated by another service (such as Compute Engine).

string cause = 1;

Returns
Type Description
String

The cause.

getCauseBytes()

public ByteString getCauseBytes()

A textual description of the cause of the delay. The string can change without notice because it is often generated by another service (such as Compute Engine).

string cause = 1;

Returns
Type Description
ByteString

The bytes for cause.

getDefaultInstanceForType()

public DelayedEvent getDefaultInstanceForType()
Returns
Type Description
DelayedEvent

getMetrics(int index)

public String getMetrics(int index)

If the delay was caused by a resource shortage, this field lists the Compute Engine metrics that are preventing this operation from running (for example, CPUS or INSTANCES). If the particular metric is not known, a single UNKNOWN metric will be present.

repeated string metrics = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The metrics at the given index.

getMetricsBytes(int index)

public ByteString getMetricsBytes(int index)

If the delay was caused by a resource shortage, this field lists the Compute Engine metrics that are preventing this operation from running (for example, CPUS or INSTANCES). If the particular metric is not known, a single UNKNOWN metric will be present.

repeated string metrics = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the metrics at the given index.

getMetricsCount()

public int getMetricsCount()

If the delay was caused by a resource shortage, this field lists the Compute Engine metrics that are preventing this operation from running (for example, CPUS or INSTANCES). If the particular metric is not known, a single UNKNOWN metric will be present.

repeated string metrics = 2;

Returns
Type Description
int

The count of metrics.

getMetricsList()

public ProtocolStringList getMetricsList()

If the delay was caused by a resource shortage, this field lists the Compute Engine metrics that are preventing this operation from running (for example, CPUS or INSTANCES). If the particular metric is not known, a single UNKNOWN metric will be present.

repeated string metrics = 2;

Returns
Type Description
ProtocolStringList

A list containing the metrics.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 DelayedEvent.Builder newBuilderForType()
Returns
Type Description
DelayedEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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