Interface CanaryDeploymentOrBuilder (1.15.0)

public interface CanaryDeploymentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPercentages(int index)

public abstract int getPercentages(int index)

Required. The percentage based deployments that will occur as a part of a Rollout. List is expected in ascending order and each integer n is 0 <= n < 100.

repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
int

The percentages at the given index.

getPercentagesCount()

public abstract int getPercentagesCount()

Required. The percentage based deployments that will occur as a part of a Rollout. List is expected in ascending order and each integer n is 0 <= n < 100.

repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of percentages.

getPercentagesList()

public abstract List<Integer> getPercentagesList()

Required. The percentage based deployments that will occur as a part of a Rollout. List is expected in ascending order and each integer n is 0 <= n < 100.

repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Integer>

A list containing the percentages.

getVerify()

public abstract boolean getVerify()

Whether to run verify tests after each percentage deployment.

bool verify = 2;

Returns
TypeDescription
boolean

The verify.