Package com.google.container.v1
Interface BlueGreenSettings.StandardRolloutPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BlueGreenSettings.StandardRolloutPolicy,BlueGreenSettings.StandardRolloutPolicy.Builder
- Enclosing class:
- BlueGreenSettings
public static interface BlueGreenSettings.StandardRolloutPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintNumber of blue nodes to drain in a batch.floatPercentage of the blue pool nodes to drain in a batch.com.google.protobuf.DurationSoak time after each batch gets drained.com.google.protobuf.DurationOrBuilderSoak time after each batch gets drained.booleanNumber of blue nodes to drain in a batch.booleanPercentage of the blue pool nodes to drain in a batch.booleanSoak time after each batch gets drained.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
-
hasBatchPercentage
boolean hasBatchPercentage()Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
float batch_percentage = 1;- Returns:
- Whether the batchPercentage field is set.
-
getBatchPercentage
float getBatchPercentage()Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
float batch_percentage = 1;- Returns:
- The batchPercentage.
-
hasBatchNodeCount
boolean hasBatchNodeCount()Number of blue nodes to drain in a batch.
int32 batch_node_count = 2;- Returns:
- Whether the batchNodeCount field is set.
-
getBatchNodeCount
int getBatchNodeCount()Number of blue nodes to drain in a batch.
int32 batch_node_count = 2;- Returns:
- The batchNodeCount.
-
hasBatchSoakDuration
boolean hasBatchSoakDuration()Soak time after each batch gets drained. Default to zero.
optional .google.protobuf.Duration batch_soak_duration = 3;- Returns:
- Whether the batchSoakDuration field is set.
-
getBatchSoakDuration
com.google.protobuf.Duration getBatchSoakDuration()Soak time after each batch gets drained. Default to zero.
optional .google.protobuf.Duration batch_soak_duration = 3;- Returns:
- The batchSoakDuration.
-
getBatchSoakDurationOrBuilder
com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder()Soak time after each batch gets drained. Default to zero.
optional .google.protobuf.Duration batch_soak_duration = 3; -
getUpdateBatchSizeCase
BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase getUpdateBatchSizeCase()
-