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
Modifier and TypeMethodDescriptionSets the minimum duration as a percentage of the maximum value.Sets the minimum duration as a percentage of the maximum value.com.google.protobuf.Duration
Sets the minimum duration as an absolute value.com.google.protobuf.DurationOrBuilder
Sets the minimum duration as an absolute value.getTimer()
The type of timer this minimum applies to.int
The type of timer this minimum applies to.boolean
Sets the minimum duration as a percentage of the maximum value.boolean
Sets the minimum duration as an absolute value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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()
-