Interface CloudRunConfigOrBuilder (1.51.0)

public interface CloudRunConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutomaticTrafficControl()

public abstract boolean getAutomaticTrafficControl()

Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.

bool automatic_traffic_control = 1;

Returns
Type Description
boolean

The automaticTrafficControl.

getCanaryRevisionTags(int index)

public abstract String getCanaryRevisionTags(int index)

Optional. A list of tags that are added to the canary revision while the canary phase is in progress.

repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The canaryRevisionTags at the given index.

getCanaryRevisionTagsBytes(int index)

public abstract ByteString getCanaryRevisionTagsBytes(int index)

Optional. A list of tags that are added to the canary revision while the canary phase is in progress.

repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the canaryRevisionTags at the given index.

getCanaryRevisionTagsCount()

public abstract int getCanaryRevisionTagsCount()

Optional. A list of tags that are added to the canary revision while the canary phase is in progress.

repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of canaryRevisionTags.

getCanaryRevisionTagsList()

public abstract List<String> getCanaryRevisionTagsList()

Optional. A list of tags that are added to the canary revision while the canary phase is in progress.

repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the canaryRevisionTags.

getPriorRevisionTags(int index)

public abstract String getPriorRevisionTags(int index)

Optional. A list of tags that are added to the prior revision while the canary phase is in progress.

repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The priorRevisionTags at the given index.

getPriorRevisionTagsBytes(int index)

public abstract ByteString getPriorRevisionTagsBytes(int index)

Optional. A list of tags that are added to the prior revision while the canary phase is in progress.

repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the priorRevisionTags at the given index.

getPriorRevisionTagsCount()

public abstract int getPriorRevisionTagsCount()

Optional. A list of tags that are added to the prior revision while the canary phase is in progress.

repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of priorRevisionTags.

getPriorRevisionTagsList()

public abstract List<String> getPriorRevisionTagsList()

Optional. A list of tags that are added to the prior revision while the canary phase is in progress.

repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the priorRevisionTags.

getStableRevisionTags(int index)

public abstract String getStableRevisionTags(int index)

Optional. A list of tags that are added to the final stable revision when the stable phase is applied.

repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The stableRevisionTags at the given index.

getStableRevisionTagsBytes(int index)

public abstract ByteString getStableRevisionTagsBytes(int index)

Optional. A list of tags that are added to the final stable revision when the stable phase is applied.

repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the stableRevisionTags at the given index.

getStableRevisionTagsCount()

public abstract int getStableRevisionTagsCount()

Optional. A list of tags that are added to the final stable revision when the stable phase is applied.

repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of stableRevisionTags.

getStableRevisionTagsList()

public abstract List<String> getStableRevisionTagsList()

Optional. A list of tags that are added to the final stable revision when the stable phase is applied.

repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the stableRevisionTags.