Interface CpuUtilizationOrBuilder (2.35.0)

public interface CpuUtilizationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAggregationWindowLength()

public abstract Duration getAggregationWindowLength()

Period of time over which CPU utilization is calculated.

.google.protobuf.Duration aggregation_window_length = 1;

Returns
TypeDescription
Duration

The aggregationWindowLength.

getAggregationWindowLengthOrBuilder()

public abstract DurationOrBuilder getAggregationWindowLengthOrBuilder()

Period of time over which CPU utilization is calculated.

.google.protobuf.Duration aggregation_window_length = 1;

Returns
TypeDescription
DurationOrBuilder

getTargetUtilization()

public abstract double getTargetUtilization()

Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.

double target_utilization = 2;

Returns
TypeDescription
double

The targetUtilization.

hasAggregationWindowLength()

public abstract boolean hasAggregationWindowLength()

Period of time over which CPU utilization is calculated.

.google.protobuf.Duration aggregation_window_length = 1;

Returns
TypeDescription
boolean

Whether the aggregationWindowLength field is set.