Send feedback
Class CloudRunConfig (1.46.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.46.0 keyboard_arrow_down
public final class CloudRunConfig extends GeneratedMessageV3 implements CloudRunConfigOrBuilder
CloudRunConfig contains the Cloud Run runtime configuration.
Protobuf type google.cloud.deploy.v1.CloudRunConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTOMATIC_TRAFFIC_CONTROL_FIELD_NUMBER
public static final int AUTOMATIC_TRAFFIC_CONTROL_FIELD_NUMBER
Field Value
Type
Description
int
public static final int CANARY_REVISION_TAGS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PRIOR_REVISION_TAGS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int STABLE_REVISION_TAGS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static CloudRunConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static CloudRunConfig . Builder newBuilder ()
newBuilder(CloudRunConfig prototype)
public static CloudRunConfig . Builder newBuilder ( CloudRunConfig prototype )
public static CloudRunConfig parseDelimitedFrom ( InputStream input )
public static CloudRunConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static CloudRunConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudRunConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static CloudRunConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudRunConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CloudRunConfig parseFrom ( CodedInputStream input )
public static CloudRunConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CloudRunConfig parseFrom ( InputStream input )
public static CloudRunConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static CloudRunConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudRunConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<CloudRunConfig> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAutomaticTrafficControl()
public 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.
public 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.
public 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.
public 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.
public ProtocolStringList 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];
getDefaultInstanceForType()
public CloudRunConfig getDefaultInstanceForType ()
getParserForType()
public Parser<CloudRunConfig> getParserForType ()
Overrides
public 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.
public 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.
public 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.
public ProtocolStringList 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];
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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.
public 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.
public 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.
public ProtocolStringList 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];
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public CloudRunConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudRunConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public CloudRunConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]