public static final class CloudRunConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder> implements CloudRunConfigOrBuilder
CloudRunConfig contains the Cloud Run runtime configuration.Protobuf type
google.cloud.deploy.v1.CloudRunConfig| Modifier and Type | Method and Description |
|---|---|
CloudRunConfig.Builder |
addAllCanaryRevisionTags(Iterable<String> values)
Optional.
|
CloudRunConfig.Builder |
addAllPriorRevisionTags(Iterable<String> values)
Optional.
|
CloudRunConfig.Builder |
addAllStableRevisionTags(Iterable<String> values)
Optional.
|
CloudRunConfig.Builder |
addCanaryRevisionTags(String value)
Optional.
|
CloudRunConfig.Builder |
addCanaryRevisionTagsBytes(com.google.protobuf.ByteString value)
Optional.
|
CloudRunConfig.Builder |
addPriorRevisionTags(String value)
Optional.
|
CloudRunConfig.Builder |
addPriorRevisionTagsBytes(com.google.protobuf.ByteString value)
Optional.
|
CloudRunConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudRunConfig.Builder |
addStableRevisionTags(String value)
Optional.
|
CloudRunConfig.Builder |
addStableRevisionTagsBytes(com.google.protobuf.ByteString value)
Optional.
|
CloudRunConfig |
build() |
CloudRunConfig |
buildPartial() |
CloudRunConfig.Builder |
clear() |
CloudRunConfig.Builder |
clearAutomaticTrafficControl()
Whether Cloud Deploy should update the traffic stanza in a Cloud Run
Service on the user's behalf to facilitate traffic splitting.
|
CloudRunConfig.Builder |
clearCanaryRevisionTags()
Optional.
|
CloudRunConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CloudRunConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CloudRunConfig.Builder |
clearPriorRevisionTags()
Optional.
|
CloudRunConfig.Builder |
clearStableRevisionTags()
Optional.
|
CloudRunConfig.Builder |
clone() |
boolean |
getAutomaticTrafficControl()
Whether Cloud Deploy should update the traffic stanza in a Cloud Run
Service on the user's behalf to facilitate traffic splitting.
|
String |
getCanaryRevisionTags(int index)
Optional.
|
com.google.protobuf.ByteString |
getCanaryRevisionTagsBytes(int index)
Optional.
|
int |
getCanaryRevisionTagsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getCanaryRevisionTagsList()
Optional.
|
CloudRunConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPriorRevisionTags(int index)
Optional.
|
com.google.protobuf.ByteString |
getPriorRevisionTagsBytes(int index)
Optional.
|
int |
getPriorRevisionTagsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getPriorRevisionTagsList()
Optional.
|
String |
getStableRevisionTags(int index)
Optional.
|
com.google.protobuf.ByteString |
getStableRevisionTagsBytes(int index)
Optional.
|
int |
getStableRevisionTagsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getStableRevisionTagsList()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CloudRunConfig.Builder |
mergeFrom(CloudRunConfig other) |
CloudRunConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudRunConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
CloudRunConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudRunConfig.Builder |
setAutomaticTrafficControl(boolean value)
Whether Cloud Deploy should update the traffic stanza in a Cloud Run
Service on the user's behalf to facilitate traffic splitting.
|
CloudRunConfig.Builder |
setCanaryRevisionTags(int index,
String value)
Optional.
|
CloudRunConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudRunConfig.Builder |
setPriorRevisionTags(int index,
String value)
Optional.
|
CloudRunConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CloudRunConfig.Builder |
setStableRevisionTags(int index,
String value)
Optional.
|
CloudRunConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>public CloudRunConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>public CloudRunConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CloudRunConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CloudRunConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CloudRunConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>public CloudRunConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>public CloudRunConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>public CloudRunConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>public CloudRunConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>public CloudRunConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>public CloudRunConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudRunConfig.Builder>public CloudRunConfig.Builder mergeFrom(CloudRunConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>public CloudRunConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudRunConfig.Builder>IOExceptionpublic 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;getAutomaticTrafficControl in interface CloudRunConfigOrBuilderpublic CloudRunConfig.Builder setAutomaticTrafficControl(boolean value)
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;value - The automaticTrafficControl to set.public CloudRunConfig.Builder clearAutomaticTrafficControl()
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;public com.google.protobuf.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];
getCanaryRevisionTagsList in interface CloudRunConfigOrBuilderpublic 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];
getCanaryRevisionTagsCount in interface CloudRunConfigOrBuilderpublic 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];
getCanaryRevisionTags in interface CloudRunConfigOrBuilderindex - The index of the element to return.public 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];
getCanaryRevisionTagsBytes in interface CloudRunConfigOrBuilderindex - The index of the value to return.public CloudRunConfig.Builder setCanaryRevisionTags(int index, String value)
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];
index - The index to set the value at.value - The canaryRevisionTags to set.public CloudRunConfig.Builder addCanaryRevisionTags(String value)
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];
value - The canaryRevisionTags to add.public CloudRunConfig.Builder addAllCanaryRevisionTags(Iterable<String> values)
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];
values - The canaryRevisionTags to add.public CloudRunConfig.Builder clearCanaryRevisionTags()
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];
public CloudRunConfig.Builder addCanaryRevisionTagsBytes(com.google.protobuf.ByteString value)
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];
value - The bytes of the canaryRevisionTags to add.public com.google.protobuf.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];
getPriorRevisionTagsList in interface CloudRunConfigOrBuilderpublic 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];
getPriorRevisionTagsCount in interface CloudRunConfigOrBuilderpublic 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];
getPriorRevisionTags in interface CloudRunConfigOrBuilderindex - The index of the element to return.public 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];
getPriorRevisionTagsBytes in interface CloudRunConfigOrBuilderindex - The index of the value to return.public CloudRunConfig.Builder setPriorRevisionTags(int index, String value)
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];
index - The index to set the value at.value - The priorRevisionTags to set.public CloudRunConfig.Builder addPriorRevisionTags(String value)
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];
value - The priorRevisionTags to add.public CloudRunConfig.Builder addAllPriorRevisionTags(Iterable<String> values)
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];
values - The priorRevisionTags to add.public CloudRunConfig.Builder clearPriorRevisionTags()
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];
public CloudRunConfig.Builder addPriorRevisionTagsBytes(com.google.protobuf.ByteString value)
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];
value - The bytes of the priorRevisionTags to add.public com.google.protobuf.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];
getStableRevisionTagsList in interface CloudRunConfigOrBuilderpublic 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];
getStableRevisionTagsCount in interface CloudRunConfigOrBuilderpublic 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];
getStableRevisionTags in interface CloudRunConfigOrBuilderindex - The index of the element to return.public 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];
getStableRevisionTagsBytes in interface CloudRunConfigOrBuilderindex - The index of the value to return.public CloudRunConfig.Builder setStableRevisionTags(int index, String value)
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];
index - The index to set the value at.value - The stableRevisionTags to set.public CloudRunConfig.Builder addStableRevisionTags(String value)
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];
value - The stableRevisionTags to add.public CloudRunConfig.Builder addAllStableRevisionTags(Iterable<String> values)
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];
values - The stableRevisionTags to add.public CloudRunConfig.Builder clearStableRevisionTags()
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];
public CloudRunConfig.Builder addStableRevisionTagsBytes(com.google.protobuf.ByteString value)
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];
value - The bytes of the stableRevisionTags to add.public final CloudRunConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>public final CloudRunConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunConfig.Builder>Copyright © 2024 Google LLC. All rights reserved.