Interface StageOrBuilder (1.19.0)

public interface StageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeployParameters(int index)

public abstract DeployParameters getDeployParameters(int index)

Optional. The deploy parameters to use for the target in this stage.

repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DeployParameters

getDeployParametersCount()

public abstract int getDeployParametersCount()

Optional. The deploy parameters to use for the target in this stage.

repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getDeployParametersList()

public abstract List<DeployParameters> getDeployParametersList()

Optional. The deploy parameters to use for the target in this stage.

repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<DeployParameters>

getDeployParametersOrBuilder(int index)

public abstract DeployParametersOrBuilder getDeployParametersOrBuilder(int index)

Optional. The deploy parameters to use for the target in this stage.

repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DeployParametersOrBuilder

getDeployParametersOrBuilderList()

public abstract List<? extends DeployParametersOrBuilder> getDeployParametersOrBuilderList()

Optional. The deploy parameters to use for the target in this stage.

repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.deploy.v1.DeployParametersOrBuilder>

getProfiles(int index)

public abstract String getProfiles(int index)

Skaffold profiles to use when rendering the manifest for this stage's Target.

repeated string profiles = 2;

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 stage's Target.

repeated string profiles = 2;

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 stage's Target.

repeated string profiles = 2;

Returns
TypeDescription
int

The count of profiles.

getProfilesList()

public abstract List<String> getProfilesList()

Skaffold profiles to use when rendering the manifest for this stage's Target.

repeated string profiles = 2;

Returns
TypeDescription
List<String>

A list containing the profiles.

getStrategy()

public abstract Strategy getStrategy()

Optional. The strategy to use for a Rollout to this stage.

.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Strategy

The strategy.

getStrategyOrBuilder()

public abstract StrategyOrBuilder getStrategyOrBuilder()

Optional. The strategy to use for a Rollout to this stage.

.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
StrategyOrBuilder

getTargetId()

public abstract String getTargetId()

The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be my-target (rather than projects/project/locations/location/targets/my-target). The location of the Target is inferred to be the same as the location of the DeliveryPipeline that contains this Stage.

string target_id = 1;

Returns
TypeDescription
String

The targetId.

getTargetIdBytes()

public abstract ByteString getTargetIdBytes()

The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be my-target (rather than projects/project/locations/location/targets/my-target). The location of the Target is inferred to be the same as the location of the DeliveryPipeline that contains this Stage.

string target_id = 1;

Returns
TypeDescription
ByteString

The bytes for targetId.

hasStrategy()

public abstract boolean hasStrategy()

Optional. The strategy to use for a Rollout to this stage.

.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the strategy field is set.