Package com.google.container.v1
Interface NodePool.UpgradeSettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodePool.UpgradeSettings,NodePool.UpgradeSettings.Builder
- Enclosing class:
- NodePool
public static interface NodePool.UpgradeSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlueGreenSettingsgetBlueGreenSettings()Settings for blue-green upgrade strategy.BlueGreenSettingsOrBuildergetBlueGreenSettingsOrBuilder()Settings for blue-green upgrade strategy.intgetMaxSurge()The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.intgetMaxUnavailable()The maximum number of nodes that can be simultaneously unavailable during the upgrade process.NodePoolUpdateStrategygetStrategy()Update strategy of the node pool.intgetStrategyValue()Update strategy of the node pool.booleanhasBlueGreenSettings()Settings for blue-green upgrade strategy.booleanhasStrategy()Update strategy of the node pool.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMaxSurge
int getMaxSurge()
The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.
int32 max_surge = 1;- Returns:
- The maxSurge.
-
getMaxUnavailable
int getMaxUnavailable()
The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.
int32 max_unavailable = 2;- Returns:
- The maxUnavailable.
-
hasStrategy
boolean hasStrategy()
Update strategy of the node pool.
optional .google.container.v1.NodePoolUpdateStrategy strategy = 3;- Returns:
- Whether the strategy field is set.
-
getStrategyValue
int getStrategyValue()
Update strategy of the node pool.
optional .google.container.v1.NodePoolUpdateStrategy strategy = 3;- Returns:
- The enum numeric value on the wire for strategy.
-
getStrategy
NodePoolUpdateStrategy getStrategy()
Update strategy of the node pool.
optional .google.container.v1.NodePoolUpdateStrategy strategy = 3;- Returns:
- The strategy.
-
hasBlueGreenSettings
boolean hasBlueGreenSettings()
Settings for blue-green upgrade strategy.
optional .google.container.v1.BlueGreenSettings blue_green_settings = 4;- Returns:
- Whether the blueGreenSettings field is set.
-
getBlueGreenSettings
BlueGreenSettings getBlueGreenSettings()
Settings for blue-green upgrade strategy.
optional .google.container.v1.BlueGreenSettings blue_green_settings = 4;- Returns:
- The blueGreenSettings.
-
getBlueGreenSettingsOrBuilder
BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder()
Settings for blue-green upgrade strategy.
optional .google.container.v1.BlueGreenSettings blue_green_settings = 4;
-
-