Interface BlueGreenSettings.StandardRolloutPolicyOrBuilder (2.9.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getUpdateBatchSizeCase()

public abstract BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase getUpdateBatchSizeCase()
Returns
TypeDescription
BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase

hasBatchNodeCount()

public abstract boolean hasBatchNodeCount()

Number of blue nodes to drain in a batch.

int32 batch_node_count = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the batchSoakDuration field is set.