Interface DelayedEventOrBuilder (0.9.0)

public interface DelayedEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCause()

public abstract 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
TypeDescription
String

The cause.

getCauseBytes()

public abstract 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
TypeDescription
ByteString

The bytes for cause.

getMetrics(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The metrics at the given index.

getMetricsBytes(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the metrics at the given index.

getMetricsCount()

public abstract 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
TypeDescription
int

The count of metrics.

getMetricsList()

public abstract 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
TypeDescription
List<String>

A list containing the metrics.