Interface CustomCanaryDeployment.PhaseConfigOrBuilder (1.42.0)

public static interface CustomCanaryDeployment.PhaseConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPercentage()

public abstract int getPercentage()

Required. Percentage deployment for the phase.

int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The percentage.

getPhaseId()

public abstract String getPhaseId()

Required. The ID to assign to the Rollout phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^a-z?$.

string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The phaseId.

getPhaseIdBytes()

public abstract ByteString getPhaseIdBytes()

Required. The ID to assign to the Rollout phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^a-z?$.

string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for phaseId.

getPostdeploy()

public abstract Postdeploy getPostdeploy()

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

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

Returns
Type Description
Postdeploy

The postdeploy.

getPostdeployOrBuilder()

public abstract PostdeployOrBuilder getPostdeployOrBuilder()

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

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

Returns
Type Description
PostdeployOrBuilder

getPredeploy()

public abstract Predeploy getPredeploy()

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

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

Returns
Type Description
Predeploy

The predeploy.

getPredeployOrBuilder()

public abstract PredeployOrBuilder getPredeployOrBuilder()

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

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

Returns
Type Description
PredeployOrBuilder

getProfiles(int index)

public abstract String getProfiles(int index)

Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the DeliveryPipeline stage.

repeated string profiles = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The profiles at the given index.

getProfilesBytes(int index)

public abstract ByteString getProfilesBytes(int index)

Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the DeliveryPipeline stage.

repeated string profiles = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the profiles at the given index.

getProfilesCount()

public abstract int getProfilesCount()

Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the DeliveryPipeline stage.

repeated string profiles = 3;

Returns
Type Description
int

The count of profiles.

getProfilesList()

public abstract List<String> getProfilesList()

Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the DeliveryPipeline stage.

repeated string profiles = 3;

Returns
Type Description
List<String>

A list containing the profiles.

getVerify()

public abstract boolean getVerify()

Whether to run verify tests after the deployment.

bool verify = 4;

Returns
Type Description
boolean

The verify.

hasPostdeploy()

public abstract boolean hasPostdeploy()

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

.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.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 this phase. If this is not configured, there will be no predeploy job for this phase.

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

Returns
Type Description
boolean

Whether the predeploy field is set.