public final class RolloutOptions extends com.google.protobuf.GeneratedMessageV3 implements RolloutOptionsOrBuilder
Configuration for rolling deployments.Protobuf type
google.cloud.aiplatform.v1beta1.RolloutOptions| Modifier and Type | Class and Description |
|---|---|
static class |
RolloutOptions.Builder
Configuration for rolling deployments.
|
static class |
RolloutOptions.MaxSurgeCase |
static class |
RolloutOptions.MaxUnavailableCase |
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 |
MAX_SURGE_PERCENTAGE_FIELD_NUMBER |
static int |
MAX_SURGE_REPLICAS_FIELD_NUMBER |
static int |
MAX_UNAVAILABLE_PERCENTAGE_FIELD_NUMBER |
static int |
MAX_UNAVAILABLE_REPLICAS_FIELD_NUMBER |
static int |
PREVIOUS_DEPLOYED_MODEL_FIELD_NUMBER |
static int |
REVISION_NUMBER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RolloutOptions |
getDefaultInstance() |
RolloutOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RolloutOptions.MaxSurgeCase |
getMaxSurgeCase() |
int |
getMaxSurgePercentage()
Percentage of allowed additional replicas.
|
int |
getMaxSurgeReplicas()
Absolute count of allowed additional replicas.
|
RolloutOptions.MaxUnavailableCase |
getMaxUnavailableCase() |
int |
getMaxUnavailablePercentage()
Percentage of replicas allowed to be unavailable.
|
int |
getMaxUnavailableReplicas()
Absolute count of replicas allowed to be unavailable.
|
com.google.protobuf.Parser<RolloutOptions> |
getParserForType() |
String |
getPreviousDeployedModel()
ID of the DeployedModel that this deployment should replace.
|
com.google.protobuf.ByteString |
getPreviousDeployedModelBytes()
ID of the DeployedModel that this deployment should replace.
|
int |
getRevisionNumber()
Output only.
|
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasMaxSurgePercentage()
Percentage of allowed additional replicas.
|
boolean |
hasMaxSurgeReplicas()
Absolute count of allowed additional replicas.
|
boolean |
hasMaxUnavailablePercentage()
Percentage of replicas allowed to be unavailable.
|
boolean |
hasMaxUnavailableReplicas()
Absolute count of replicas allowed to be unavailable.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RolloutOptions.Builder |
newBuilder() |
static RolloutOptions.Builder |
newBuilder(RolloutOptions prototype) |
RolloutOptions.Builder |
newBuilderForType() |
protected RolloutOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RolloutOptions |
parseDelimitedFrom(InputStream input) |
static RolloutOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RolloutOptions |
parseFrom(byte[] data) |
static RolloutOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RolloutOptions |
parseFrom(ByteBuffer data) |
static RolloutOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RolloutOptions |
parseFrom(com.google.protobuf.ByteString data) |
static RolloutOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RolloutOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RolloutOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RolloutOptions |
parseFrom(InputStream input) |
static RolloutOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RolloutOptions> |
parser() |
RolloutOptions.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 MAX_UNAVAILABLE_REPLICAS_FIELD_NUMBER
public static final int MAX_UNAVAILABLE_PERCENTAGE_FIELD_NUMBER
public static final int MAX_SURGE_REPLICAS_FIELD_NUMBER
public static final int MAX_SURGE_PERCENTAGE_FIELD_NUMBER
public static final int PREVIOUS_DEPLOYED_MODEL_FIELD_NUMBER
public static final int REVISION_NUMBER_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 RolloutOptions.MaxUnavailableCase getMaxUnavailableCase()
getMaxUnavailableCase in interface RolloutOptionsOrBuilderpublic RolloutOptions.MaxSurgeCase getMaxSurgeCase()
getMaxSurgeCase in interface RolloutOptionsOrBuilderpublic boolean hasMaxUnavailableReplicas()
Absolute count of replicas allowed to be unavailable.
int32 max_unavailable_replicas = 3;hasMaxUnavailableReplicas in interface RolloutOptionsOrBuilderpublic int getMaxUnavailableReplicas()
Absolute count of replicas allowed to be unavailable.
int32 max_unavailable_replicas = 3;getMaxUnavailableReplicas in interface RolloutOptionsOrBuilderpublic boolean hasMaxUnavailablePercentage()
Percentage of replicas allowed to be unavailable. For autoscaling deployments, this refers to the target replica count.
int32 max_unavailable_percentage = 4;hasMaxUnavailablePercentage in interface RolloutOptionsOrBuilderpublic int getMaxUnavailablePercentage()
Percentage of replicas allowed to be unavailable. For autoscaling deployments, this refers to the target replica count.
int32 max_unavailable_percentage = 4;getMaxUnavailablePercentage in interface RolloutOptionsOrBuilderpublic boolean hasMaxSurgeReplicas()
Absolute count of allowed additional replicas.
int32 max_surge_replicas = 5;hasMaxSurgeReplicas in interface RolloutOptionsOrBuilderpublic int getMaxSurgeReplicas()
Absolute count of allowed additional replicas.
int32 max_surge_replicas = 5;getMaxSurgeReplicas in interface RolloutOptionsOrBuilderpublic boolean hasMaxSurgePercentage()
Percentage of allowed additional replicas. For autoscaling deployments, this refers to the target replica count.
int32 max_surge_percentage = 6;hasMaxSurgePercentage in interface RolloutOptionsOrBuilderpublic int getMaxSurgePercentage()
Percentage of allowed additional replicas. For autoscaling deployments, this refers to the target replica count.
int32 max_surge_percentage = 6;getMaxSurgePercentage in interface RolloutOptionsOrBuilderpublic String getPreviousDeployedModel()
ID of the DeployedModel that this deployment should replace.
string previous_deployed_model = 1;getPreviousDeployedModel in interface RolloutOptionsOrBuilderpublic com.google.protobuf.ByteString getPreviousDeployedModelBytes()
ID of the DeployedModel that this deployment should replace.
string previous_deployed_model = 1;getPreviousDeployedModelBytes in interface RolloutOptionsOrBuilderpublic int getRevisionNumber()
Output only. Read-only. Revision number determines the relative priority of DeployedModels in the same rollout. The DeployedModel with the largest revision number specifies the intended state of the deployment.
int32 revision_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getRevisionNumber in interface RolloutOptionsOrBuilderpublic 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 RolloutOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static RolloutOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RolloutOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RolloutOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RolloutOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RolloutOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RolloutOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RolloutOptions.Builder newBuilder()
public static RolloutOptions.Builder newBuilder(RolloutOptions prototype)
public RolloutOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RolloutOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RolloutOptions getDefaultInstance()
public static com.google.protobuf.Parser<RolloutOptions> parser()
public com.google.protobuf.Parser<RolloutOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RolloutOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.