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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DelayedEventImplements
DelayedEventOrBuilderStatic Fields
CAUSE_FIELD_NUMBER
public static final int CAUSE_FIELD_NUMBER
Type | Description |
int |
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DelayedEvent getDefaultInstance()
Type | Description |
DelayedEvent |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static DelayedEvent.Builder newBuilder()
Type | Description |
DelayedEvent.Builder |
newBuilder(DelayedEvent prototype)
public static DelayedEvent.Builder newBuilder(DelayedEvent prototype)
Name | Description |
prototype | DelayedEvent |
Type | Description |
DelayedEvent.Builder |
parseDelimitedFrom(InputStream input)
public static DelayedEvent parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DelayedEvent |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DelayedEvent |
Type | Description |
IOException |
parseFrom(byte[] data)
public static DelayedEvent parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
DelayedEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DelayedEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DelayedEvent parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
DelayedEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DelayedEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DelayedEvent parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
DelayedEvent |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DelayedEvent |
Type | Description |
IOException |
parseFrom(InputStream input)
public static DelayedEvent parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DelayedEvent |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DelayedEvent |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DelayedEvent parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
DelayedEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DelayedEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DelayedEvent |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DelayedEvent> parser()
Type | Description |
Parser<DelayedEvent> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
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;
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;
Type | Description |
ByteString | The bytes for cause. |
getDefaultInstanceForType()
public DelayedEvent getDefaultInstanceForType()
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the metrics. |
getParserForType()
public Parser<DelayedEvent> getParserForType()
Type | Description |
Parser<DelayedEvent> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public DelayedEvent.Builder newBuilderForType()
Type | Description |
DelayedEvent.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DelayedEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
DelayedEvent.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public DelayedEvent.Builder toBuilder()
Type | Description |
DelayedEvent.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |