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
Modifier and TypeMethodDescriptionSettings for blue-green upgrade strategy.Settings for blue-green upgrade strategy.intThe maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.intThe maximum number of nodes that can be simultaneously unavailable during the upgrade process.Update strategy of the node pool.intUpdate strategy of the node pool.booleanSettings for blue-green upgrade strategy.booleanUpdate strategy of the node pool.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-
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;
-