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
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DelayedEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DelayedEvent.Builder newBuilder()
Returns
newBuilder(DelayedEvent prototype)
public static DelayedEvent.Builder newBuilder(DelayedEvent prototype)
Parameter
Returns
public static DelayedEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DelayedEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DelayedEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DelayedEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DelayedEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DelayedEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DelayedEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DelayedEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DelayedEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DelayedEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
getDefaultInstanceForType()
public DelayedEvent getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<DelayedEvent> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DelayedEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DelayedEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DelayedEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions