Package com.google.container.v1beta1
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 BlueGreenSettings
getBlueGreenSettings()
Settings for blue-green upgrade strategy.BlueGreenSettingsOrBuilder
getBlueGreenSettingsOrBuilder()
Settings for blue-green upgrade strategy.int
getMaxSurge()
The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.int
getMaxUnavailable()
The maximum number of nodes that can be simultaneously unavailable during the upgrade process.NodePoolUpdateStrategy
getStrategy()
Update strategy of the node pool.int
getStrategyValue()
Update strategy of the node pool.boolean
hasBlueGreenSettings()
Settings for blue-green upgrade strategy.boolean
hasStrategy()
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.v1beta1.NodePoolUpdateStrategy strategy = 3;
- Returns:
- Whether the strategy field is set.
-
getStrategyValue
int getStrategyValue()
Update strategy of the node pool.
optional .google.container.v1beta1.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.v1beta1.NodePoolUpdateStrategy strategy = 3;
- Returns:
- The strategy.
-
hasBlueGreenSettings
boolean hasBlueGreenSettings()
Settings for blue-green upgrade strategy.
optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4;
- Returns:
- Whether the blueGreenSettings field is set.
-
getBlueGreenSettings
BlueGreenSettings getBlueGreenSettings()
Settings for blue-green upgrade strategy.
optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4;
- Returns:
- The blueGreenSettings.
-
getBlueGreenSettingsOrBuilder
BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder()
Settings for blue-green upgrade strategy.
optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4;
-
-