public static final class DelayedEvent.Builder extends GeneratedMessageV3.Builder<DelayedEvent.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DelayedEvent.BuilderImplements
DelayedEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllMetrics(Iterable<String> values)
public DelayedEvent.Builder addAllMetrics(Iterable<String> values)
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 |
values | Iterable<String> The metrics to add. |
Type | Description |
DelayedEvent.Builder | This builder for chaining. |
addMetrics(String value)
public DelayedEvent.Builder addMetrics(String value)
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 |
value | String The metrics to add. |
Type | Description |
DelayedEvent.Builder | This builder for chaining. |
addMetricsBytes(ByteString value)
public DelayedEvent.Builder addMetricsBytes(ByteString value)
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 |
value | ByteString The bytes of the metrics to add. |
Type | Description |
DelayedEvent.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DelayedEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DelayedEvent.Builder |
build()
public DelayedEvent build()
Type | Description |
DelayedEvent |
buildPartial()
public DelayedEvent buildPartial()
Type | Description |
DelayedEvent |
clear()
public DelayedEvent.Builder clear()
Type | Description |
DelayedEvent.Builder |
clearCause()
public DelayedEvent.Builder clearCause()
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 |
DelayedEvent.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DelayedEvent.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DelayedEvent.Builder |
clearMetrics()
public DelayedEvent.Builder clearMetrics()
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 |
DelayedEvent.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DelayedEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DelayedEvent.Builder |
clone()
public DelayedEvent.Builder clone()
Type | Description |
DelayedEvent.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DelayedEvent other)
public DelayedEvent.Builder mergeFrom(DelayedEvent other)
Name | Description |
other | DelayedEvent |
Type | Description |
DelayedEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DelayedEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DelayedEvent.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DelayedEvent.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DelayedEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DelayedEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DelayedEvent.Builder |
setCause(String value)
public DelayedEvent.Builder setCause(String value)
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;
Name | Description |
value | String The cause to set. |
Type | Description |
DelayedEvent.Builder | This builder for chaining. |
setCauseBytes(ByteString value)
public DelayedEvent.Builder setCauseBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for cause to set. |
Type | Description |
DelayedEvent.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DelayedEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DelayedEvent.Builder |
setMetrics(int index, String value)
public DelayedEvent.Builder setMetrics(int index, String value)
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 to set the value at. |
value | String The metrics to set. |
Type | Description |
DelayedEvent.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DelayedEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DelayedEvent.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DelayedEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DelayedEvent.Builder |