Package com.google.appengine.v1
Interface CpuUtilizationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CpuUtilization
,CpuUtilization.Builder
public interface CpuUtilizationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Duration
getAggregationWindowLength()
Period of time over which CPU utilization is calculated.com.google.protobuf.DurationOrBuilder
getAggregationWindowLengthOrBuilder()
Period of time over which CPU utilization is calculated.double
getTargetUtilization()
Target CPU utilization ratio to maintain when scaling.boolean
hasAggregationWindowLength()
Period of time over which CPU utilization is calculated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAggregationWindowLength
boolean hasAggregationWindowLength()
Period of time over which CPU utilization is calculated.
.google.protobuf.Duration aggregation_window_length = 1;
- Returns:
- Whether the aggregationWindowLength field is set.
-
getAggregationWindowLength
com.google.protobuf.Duration getAggregationWindowLength()
Period of time over which CPU utilization is calculated.
.google.protobuf.Duration aggregation_window_length = 1;
- Returns:
- The aggregationWindowLength.
-
getAggregationWindowLengthOrBuilder
com.google.protobuf.DurationOrBuilder getAggregationWindowLengthOrBuilder()
Period of time over which CPU utilization is calculated.
.google.protobuf.Duration aggregation_window_length = 1;
-
getTargetUtilization
double getTargetUtilization()
Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
double target_utilization = 2;
- Returns:
- The targetUtilization.
-
-