Interface ReadPoolAutoScaleConfig.TargetMetricOrBuilder (0.1.0)

public static interface ReadPoolAutoScaleConfig.TargetMetricOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetric()

public abstract String getMetric()

The metric name to be used for auto scaling.

optional string metric = 1;

Returns
Type Description
String

The metric.

getMetricBytes()

public abstract ByteString getMetricBytes()

The metric name to be used for auto scaling.

optional string metric = 1;

Returns
Type Description
ByteString

The bytes for metric.

getTargetValue()

public abstract float getTargetValue()

The target value for the metric.

optional float target_value = 2;

Returns
Type Description
float

The targetValue.

hasMetric()

public abstract boolean hasMetric()

The metric name to be used for auto scaling.

optional string metric = 1;

Returns
Type Description
boolean

Whether the metric field is set.

hasTargetValue()

public abstract boolean hasTargetValue()

The target value for the metric.

optional float target_value = 2;

Returns
Type Description
boolean

Whether the targetValue field is set.