Interface CanaryDeploymentOrBuilder (1.31.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.

getPostdeploy()

public abstract Postdeploy getPostdeploy()

Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.

.google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Postdeploy

The postdeploy.

getPostdeployOrBuilder()

public abstract PostdeployOrBuilder getPostdeployOrBuilder()

Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.

.google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PostdeployOrBuilder

getPredeploy()

public abstract Predeploy getPredeploy()

Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.

.google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Predeploy

The predeploy.

getPredeployOrBuilder()

public abstract PredeployOrBuilder getPredeployOrBuilder()

Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.

.google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PredeployOrBuilder

getVerify()

public abstract boolean getVerify()

Whether to run verify tests after each percentage deployment.

bool verify = 2;

Returns
TypeDescription
boolean

The verify.

hasPostdeploy()

public abstract boolean hasPostdeploy()

Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.

.google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the postdeploy field is set.

hasPredeploy()

public abstract boolean hasPredeploy()

Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.

.google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the predeploy field is set.