Interface StageOrBuilder (1.13.0)

public interface StageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.