Package com.google.cloud.deploy.v1
Interface CloudRunConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CloudRunConfig,CloudRunConfig.Builder
@Generated
public interface CloudRunConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.getCanaryRevisionTags(int index) Optional.com.google.protobuf.ByteStringgetCanaryRevisionTagsBytes(int index) Optional.intOptional.Optional.getPriorRevisionTags(int index) Optional.com.google.protobuf.ByteStringgetPriorRevisionTagsBytes(int index) Optional.intOptional.Optional.getStableRevisionTags(int index) Optional.com.google.protobuf.ByteStringgetStableRevisionTagsBytes(int index) Optional.intOptional.Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAutomaticTrafficControl
boolean getAutomaticTrafficControl()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The automaticTrafficControl.
-
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:
- A list containing the canaryRevisionTags.
-
getCanaryRevisionTagsCount
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:
- The count of canaryRevisionTags.
-
getCanaryRevisionTags
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];- Parameters:
index- The index of the element to return.- Returns:
- The canaryRevisionTags at the given index.
-
getCanaryRevisionTagsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the canaryRevisionTags at the given index.
-
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:
- A list containing the priorRevisionTags.
-
getPriorRevisionTagsCount
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:
- The count of priorRevisionTags.
-
getPriorRevisionTags
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];- Parameters:
index- The index of the element to return.- Returns:
- The priorRevisionTags at the given index.
-
getPriorRevisionTagsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the priorRevisionTags at the given index.
-
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:
- A list containing the stableRevisionTags.
-
getStableRevisionTagsCount
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:
- The count of stableRevisionTags.
-
getStableRevisionTags
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];- Parameters:
index- The index of the element to return.- Returns:
- The stableRevisionTags at the given index.
-
getStableRevisionTagsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the stableRevisionTags at the given index.
-