Interface DelayedEventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DelayedEvent
,DelayedEvent.Builder
public interface DelayedEventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCause()
A textual description of the cause of the delay.com.google.protobuf.ByteString
getCauseBytes()
A textual description of the cause of the delay.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`).com.google.protobuf.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`).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`).List<String>
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`).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCause
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:
- The cause.
-
getCauseBytes
com.google.protobuf.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:
- The bytes for cause.
-
getMetricsList
List<String> 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:
- A list containing the metrics.
-
getMetricsCount
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:
- The count of metrics.
-
getMetrics
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The metrics at the given index.
-
getMetricsBytes
com.google.protobuf.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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the metrics at the given index.
-
-