- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class CloudRunConfig.Builder extends GeneratedMessageV3.Builder<CloudRunConfig.Builder> implements CloudRunConfigOrBuilder
CloudRunConfig contains the Cloud Run runtime configuration.
Protobuf type google.cloud.deploy.v1.CloudRunConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudRunConfig.BuilderImplements
CloudRunConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllCanaryRevisionTags(Iterable<String> values)
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The canaryRevisionTags to add. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
addAllPriorRevisionTags(Iterable<String> values)
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The priorRevisionTags to add. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
addAllStableRevisionTags(Iterable<String> values)
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The stableRevisionTags to add. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
addCanaryRevisionTags(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The canaryRevisionTags to add. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
addCanaryRevisionTagsBytes(ByteString value)
public CloudRunConfig.Builder addCanaryRevisionTagsBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the canaryRevisionTags to add. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
addPriorRevisionTags(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The priorRevisionTags to add. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
addPriorRevisionTagsBytes(ByteString value)
public CloudRunConfig.Builder addPriorRevisionTagsBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the priorRevisionTags to add. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudRunConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
addStableRevisionTags(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The stableRevisionTags to add. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
addStableRevisionTagsBytes(ByteString value)
public CloudRunConfig.Builder addStableRevisionTagsBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the stableRevisionTags to add. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
build()
public CloudRunConfig build()
Returns | |
---|---|
Type | Description |
CloudRunConfig |
buildPartial()
public CloudRunConfig buildPartial()
Returns | |
---|---|
Type | Description |
CloudRunConfig |
clear()
public CloudRunConfig.Builder clear()
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
clearAutomaticTrafficControl()
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;
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
clearCanaryRevisionTags()
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];
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CloudRunConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudRunConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
clearPriorRevisionTags()
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];
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
clearStableRevisionTags()
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];
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
clone()
public CloudRunConfig.Builder clone()
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
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. |
getCanaryRevisionTags(int index)
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. |
getCanaryRevisionTagsBytes(int 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. |
getCanaryRevisionTagsCount()
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. |
getCanaryRevisionTagsList()
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];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the canaryRevisionTags. |
getDefaultInstanceForType()
public CloudRunConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CloudRunConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPriorRevisionTags(int index)
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. |
getPriorRevisionTagsBytes(int 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. |
getPriorRevisionTagsCount()
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. |
getPriorRevisionTagsList()
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];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the priorRevisionTags. |
getStableRevisionTags(int index)
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. |
getStableRevisionTagsBytes(int 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. |
getStableRevisionTagsCount()
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. |
getStableRevisionTagsList()
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];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the stableRevisionTags. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CloudRunConfig other)
public CloudRunConfig.Builder mergeFrom(CloudRunConfig other)
Parameter | |
---|---|
Name | Description |
other |
CloudRunConfig |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudRunConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CloudRunConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudRunConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
setAutomaticTrafficControl(boolean value)
public 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;
Parameter | |
---|---|
Name | Description |
value |
boolean The automaticTrafficControl to set. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
setCanaryRevisionTags(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The canaryRevisionTags to set. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudRunConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
setPriorRevisionTags(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The priorRevisionTags to set. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudRunConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
setStableRevisionTags(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The stableRevisionTags to set. |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudRunConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudRunConfig.Builder |