Interface CustomCanaryDeployment.PhaseConfigOrBuilder (1.12.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.

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.