- 0.57.0 (latest)
- 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 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()
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 | String The 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 | ByteString The bytes of the metrics to add. |
Returns | |
---|---|
Type | Description |
DelayedEvent.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DelayedEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DelayedEvent.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public DelayedEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
DelayedEvent.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DelayedEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DelayedEvent.Builder |
clone()
public DelayedEvent.Builder clone()
Returns | |
---|---|
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;
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 | 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 | |
---|---|
Type | Description |
ProtocolStringList | A list containing the metrics. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DelayedEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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 | String The 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 | ByteString The bytes for cause to set. |
Returns | |
---|---|
Type | Description |
DelayedEvent.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DelayedEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The metrics to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
DelayedEvent.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DelayedEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DelayedEvent.Builder |