Interface CanaryDeploymentOrBuilder (1.42.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
PredeployOrBuilder

getVerify()

public abstract boolean getVerify()

Whether to run verify tests after each percentage deployment.

bool verify = 2;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the predeploy field is set.