Interface DelayedEventOrBuilder (0.50.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
Type Description
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
Type Description
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
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 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
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 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
Type Description
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
Type Description
List<String>

A list containing the metrics.