Interface CpuUtilizationOrBuilder (2.13.0)

publicinterface CpuUtilizationOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAggregationWindowLength()

publicabstractDurationgetAggregationWindowLength()

Period of time over which CPU utilization is calculated.

.google.protobuf.Duration aggregation_window_length = 1;

Returns
Type Description
Duration

The aggregationWindowLength.

getAggregationWindowLengthOrBuilder()

publicabstractDurationOrBuildergetAggregationWindowLengthOrBuilder()

Period of time over which CPU utilization is calculated.

.google.protobuf.Duration aggregation_window_length = 1;

Returns
Type Description
DurationOrBuilder

getTargetUtilization()

publicabstractdoublegetTargetUtilization()

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

double target_utilization = 2;

Returns
Type Description
double

The targetUtilization.

hasAggregationWindowLength()

publicabstractbooleanhasAggregationWindowLength()

Period of time over which CPU utilization is calculated.

.google.protobuf.Duration aggregation_window_length = 1;

Returns
Type Description
boolean

Whether the aggregationWindowLength field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.