Interface BlueGreenSettings.StandardRolloutPolicyOrBuilder (2.49.0)

public static interface BlueGreenSettings.StandardRolloutPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBatchNodeCount()

public abstract int getBatchNodeCount()

Number of blue nodes to drain in a batch.

int32 batch_node_count = 2;

Returns
Type Description
int

The batchNodeCount.

getBatchPercentage()

public abstract 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
Type Description
float

The batchPercentage.

getBatchSoakDuration()

public abstract Duration getBatchSoakDuration()

Soak time after each batch gets drained. Default to zero.

optional .google.protobuf.Duration batch_soak_duration = 3;

Returns
Type Description
Duration

The batchSoakDuration.

getBatchSoakDurationOrBuilder()

public abstract DurationOrBuilder getBatchSoakDurationOrBuilder()

Soak time after each batch gets drained. Default to zero.

optional .google.protobuf.Duration batch_soak_duration = 3;

Returns
Type Description
DurationOrBuilder

getUpdateBatchSizeCase()

public abstract BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase getUpdateBatchSizeCase()
Returns
Type Description
BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase

hasBatchNodeCount()

public abstract boolean hasBatchNodeCount()

Number of blue nodes to drain in a batch.

int32 batch_node_count = 2;

Returns
Type Description
boolean

Whether the batchNodeCount field is set.

hasBatchPercentage()

public abstract 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
Type Description
boolean

Whether the batchPercentage field is set.

hasBatchSoakDuration()

public abstract boolean hasBatchSoakDuration()

Soak time after each batch gets drained. Default to zero.

optional .google.protobuf.Duration batch_soak_duration = 3;

Returns
Type Description
boolean

Whether the batchSoakDuration field is set.