Interface ScaleTimersOverloadActionConfig.ScaleTimerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScaleTimersOverloadActionConfig.ScaleTimer
,ScaleTimersOverloadActionConfig.ScaleTimer.Builder
- Enclosing class:
- ScaleTimersOverloadActionConfig
public static interface ScaleTimersOverloadActionConfig.ScaleTimerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Percent
getMinScale()
Sets the minimum duration as a percentage of the maximum value.PercentOrBuilder
getMinScaleOrBuilder()
Sets the minimum duration as a percentage of the maximum value.com.google.protobuf.Duration
getMinTimeout()
Sets the minimum duration as an absolute value.com.google.protobuf.DurationOrBuilder
getMinTimeoutOrBuilder()
Sets the minimum duration as an absolute value.ScaleTimersOverloadActionConfig.ScaleTimer.OverloadAdjustCase
getOverloadAdjustCase()
ScaleTimersOverloadActionConfig.TimerType
getTimer()
The type of timer this minimum applies to.int
getTimerValue()
The type of timer this minimum applies to.boolean
hasMinScale()
Sets the minimum duration as a percentage of the maximum value.boolean
hasMinTimeout()
Sets the minimum duration as an absolute value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTimerValue
int getTimerValue()
The type of timer this minimum applies to.
.envoy.config.overload.v3.ScaleTimersOverloadActionConfig.TimerType timer = 1 [(.validate.rules) = { ... }
- Returns:
- The enum numeric value on the wire for timer.
-
getTimer
ScaleTimersOverloadActionConfig.TimerType getTimer()
The type of timer this minimum applies to.
.envoy.config.overload.v3.ScaleTimersOverloadActionConfig.TimerType timer = 1 [(.validate.rules) = { ... }
- Returns:
- The timer.
-
hasMinTimeout
boolean hasMinTimeout()
Sets the minimum duration as an absolute value.
.google.protobuf.Duration min_timeout = 2;
- Returns:
- Whether the minTimeout field is set.
-
getMinTimeout
com.google.protobuf.Duration getMinTimeout()
Sets the minimum duration as an absolute value.
.google.protobuf.Duration min_timeout = 2;
- Returns:
- The minTimeout.
-
getMinTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getMinTimeoutOrBuilder()
Sets the minimum duration as an absolute value.
.google.protobuf.Duration min_timeout = 2;
-
hasMinScale
boolean hasMinScale()
Sets the minimum duration as a percentage of the maximum value.
.envoy.type.v3.Percent min_scale = 3;
- Returns:
- Whether the minScale field is set.
-
getMinScale
Percent getMinScale()
Sets the minimum duration as a percentage of the maximum value.
.envoy.type.v3.Percent min_scale = 3;
- Returns:
- The minScale.
-
getMinScaleOrBuilder
PercentOrBuilder getMinScaleOrBuilder()
Sets the minimum duration as a percentage of the maximum value.
.envoy.type.v3.Percent min_scale = 3;
-
getOverloadAdjustCase
ScaleTimersOverloadActionConfig.ScaleTimer.OverloadAdjustCase getOverloadAdjustCase()
-
-