public final class CloudRunConfig extends com.google.protobuf.GeneratedMessageV3 implements CloudRunConfigOrBuilder
CloudRunConfig contains the Cloud Run runtime configuration.Protobuf type
google.cloud.deploy.v1.CloudRunConfig| Modifier and Type | Class and Description |
|---|---|
static class |
CloudRunConfig.Builder
CloudRunConfig contains the Cloud Run runtime configuration.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUTOMATIC_TRAFFIC_CONTROL_FIELD_NUMBER |
static int |
CANARY_REVISION_TAGS_FIELD_NUMBER |
static int |
PRIOR_REVISION_TAGS_FIELD_NUMBER |
static int |
STABLE_REVISION_TAGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static CloudRunConfig |
getDefaultInstance() |
CloudRunConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<CloudRunConfig> |
getParserForType() |
String |
getPriorRevisionTags(int index)
Optional.
|
com.google.protobuf.ByteString |
getPriorRevisionTagsBytes(int index)
Optional.
|
int |
getPriorRevisionTagsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getPriorRevisionTagsList()
Optional.
|
int |
getSerializedSize() |
String |
getStableRevisionTags(int index)
Optional.
|
com.google.protobuf.ByteString |
getStableRevisionTagsBytes(int index)
Optional.
|
int |
getStableRevisionTagsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getStableRevisionTagsList()
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CloudRunConfig.Builder |
newBuilder() |
static CloudRunConfig.Builder |
newBuilder(CloudRunConfig prototype) |
CloudRunConfig.Builder |
newBuilderForType() |
protected CloudRunConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CloudRunConfig |
parseDelimitedFrom(InputStream input) |
static CloudRunConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CloudRunConfig |
parseFrom(byte[] data) |
static CloudRunConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CloudRunConfig |
parseFrom(ByteBuffer data) |
static CloudRunConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CloudRunConfig |
parseFrom(com.google.protobuf.ByteString data) |
static CloudRunConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CloudRunConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CloudRunConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CloudRunConfig |
parseFrom(InputStream input) |
static CloudRunConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CloudRunConfig> |
parser() |
CloudRunConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AUTOMATIC_TRAFFIC_CONTROL_FIELD_NUMBER
public static final int CANARY_REVISION_TAGS_FIELD_NUMBER
public static final int PRIOR_REVISION_TAGS_FIELD_NUMBER
public static final int STABLE_REVISION_TAGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CloudRunConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CloudRunConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CloudRunConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CloudRunConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CloudRunConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CloudRunConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CloudRunConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static CloudRunConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CloudRunConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CloudRunConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CloudRunConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CloudRunConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CloudRunConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CloudRunConfig.Builder newBuilder()
public static CloudRunConfig.Builder newBuilder(CloudRunConfig prototype)
public CloudRunConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CloudRunConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CloudRunConfig getDefaultInstance()
public static com.google.protobuf.Parser<CloudRunConfig> parser()
public com.google.protobuf.Parser<CloudRunConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CloudRunConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.