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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DelayedEvent.Builder newBuilder()
newBuilder(DelayedEvent prototype)
public static DelayedEvent.Builder newBuilder(DelayedEvent prototype)
public static DelayedEvent parseDelimitedFrom(InputStream input)
public static DelayedEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DelayedEvent parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DelayedEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(CodedInputStream input)
public static DelayedEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(InputStream input)
public static DelayedEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DelayedEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DelayedEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
Type | Description |
ByteString | The bytes for cause.
|
getDefaultInstanceForType()
public DelayedEvent getDefaultInstanceForType()
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;
getParserForType()
public Parser<DelayedEvent> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DelayedEvent.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DelayedEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DelayedEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides