- 0.85.0 (latest)
- 0.84.0
- 0.83.0
- 0.82.0
- 0.80.0
- 0.78.0
- 0.77.0
- 0.76.0
- 0.75.0
- 0.74.0
- 0.72.0
- 0.70.0
- 0.69.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.8
public static final class DelayedEvent.Builder extends GeneratedMessage.Builder<DelayedEvent.Builder> implements DelayedEventOrBuilderAn 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DelayedEvent.BuilderImplements
DelayedEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The metrics to add. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe metrics to add. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the metrics to add. |
| Returns | |
|---|---|
| Type | Description |
DelayedEvent.Builder |
This builder for chaining. |
build()
public DelayedEvent build()| Returns | |
|---|---|
| Type | Description |
DelayedEvent |
|
buildPartial()
public DelayedEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
DelayedEvent |
|
clear()
public DelayedEvent.Builder clear()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
DelayedEvent.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
DelayedEvent.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 |
intThe 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DelayedEvent other)
public DelayedEvent.Builder mergeFrom(DelayedEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
DelayedEvent |
| Returns | |
|---|---|
| Type | Description |
DelayedEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DelayedEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DelayedEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DelayedEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cause to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cause to set. |
| Returns | |
|---|---|
| Type | Description |
DelayedEvent.Builder |
This builder for chaining. |
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;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe metrics to set. |
| Returns | |
|---|---|
| Type | Description |
DelayedEvent.Builder |
This builder for chaining. |