Interface CustomCanaryDeployment.PhaseConfigOrBuilder (1.26.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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for phaseId.

getPostdeploy()

public abstract Postdeploy getPostdeploy()

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

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

Returns
TypeDescription
Postdeploy

The postdeploy.

getPostdeployOrBuilder()

public abstract PostdeployOrBuilder getPostdeployOrBuilder()

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

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

Returns
TypeDescription
PostdeployOrBuilder

getPredeploy()

public abstract Predeploy getPredeploy()

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

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

Returns
TypeDescription
Predeploy

The predeploy.

getPredeployOrBuilder()

public abstract PredeployOrBuilder getPredeployOrBuilder()

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

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

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the profiles.

getVerify()

public abstract boolean getVerify()

Whether to run verify tests after the deployment.

bool verify = 4;

Returns
TypeDescription
boolean

The verify.

hasPostdeploy()

public abstract boolean hasPostdeploy()

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

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

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

Returns
TypeDescription
boolean

Whether the predeploy field is set.