Class RolloutOptions (3.77.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.77.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  RolloutOptions   extends   GeneratedMessageV3   implements   RolloutOptionsOrBuilder  
   Configuration for rolling deployments.
 Protobuf type google.cloud.aiplatform.v1beta1.RolloutOptions
    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
   
  
  
    
public   static   final   int   MAX_SURGE_PERCENTAGE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   MAX_SURGE_REPLICAS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   MAX_UNAVAILABLE_PERCENTAGE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   MAX_UNAVAILABLE_REPLICAS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   PREVIOUS_DEPLOYED_MODEL_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   REVISION_NUMBER_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   RolloutOptions   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   RolloutOptions . Builder   newBuilder ()  
  
  
    
public   static   RolloutOptions . Builder   newBuilder ( RolloutOptions   prototype )  
  
  
  
    
public   static   RolloutOptions   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   RolloutOptions   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   RolloutOptions   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   RolloutOptions   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   RolloutOptions   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   RolloutOptions   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   RolloutOptions   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   RolloutOptions   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   RolloutOptions   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   RolloutOptions   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   RolloutOptions   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   RolloutOptions   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<RolloutOptions>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   RolloutOptions   getDefaultInstanceForType ()  
  
  
    
public   RolloutOptions . MaxSurgeCase   getMaxSurgeCase ()  
  
  
    
public   int   getMaxSurgePercentage ()  
   Percentage of allowed additional replicas.
 For autoscaling deployments, this refers to the target replica count.
 int32 max_surge_percentage = 6;
    
      
        Returns  
      
        Type Description  
      
        int The maxSurgePercentage.
 
     
  
  
    
public   int   getMaxSurgeReplicas ()  
   Absolute count of allowed additional replicas.
 int32 max_surge_replicas = 5;
    
      
        Returns  
      
        Type Description  
      
        int The maxSurgeReplicas.
 
     
  
  
    
public   RolloutOptions . MaxUnavailableCase   getMaxUnavailableCase ()  
  
  
    
public   int   getMaxUnavailablePercentage ()  
   Percentage of replicas allowed to be unavailable.
 For autoscaling deployments, this refers to the target replica count.
 int32 max_unavailable_percentage = 4;
    
      
        Returns  
      
        Type Description  
      
        int The maxUnavailablePercentage.
 
     
  
  
    
public   int   getMaxUnavailableReplicas ()  
   Absolute count of replicas allowed to be unavailable.
 int32 max_unavailable_replicas = 3;
    
      
        Returns  
      
        Type Description  
      
        int The maxUnavailableReplicas.
 
     
  
  
    
public   Parser<RolloutOptions>   getParserForType ()  
  
  Overrides 
  
  
    
public   String   getPreviousDeployedModel ()  
   ID of the DeployedModel that this deployment should replace.
 string previous_deployed_model = 1;
    
      
        Returns  
      
        Type Description  
      
        String The previousDeployedModel.
 
     
  
  
    
public   ByteString   getPreviousDeployedModelBytes ()  
   ID of the DeployedModel that this deployment should replace.
 string previous_deployed_model = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for previousDeployedModel.
 
     
  
  
    
public   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];
    
      
        Returns  
      
        Type Description  
      
        int The revisionNumber.
 
     
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   boolean   hasMaxSurgePercentage ()  
   Percentage of allowed additional replicas.
 For autoscaling deployments, this refers to the target replica count.
 int32 max_surge_percentage = 6;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the maxSurgePercentage field is set.
 
     
  
  
    
public   boolean   hasMaxSurgeReplicas ()  
   Absolute count of allowed additional replicas.
 int32 max_surge_replicas = 5;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the maxSurgeReplicas field is set.
 
     
  
  
    
public   boolean   hasMaxUnavailablePercentage ()  
   Percentage of replicas allowed to be unavailable.
 For autoscaling deployments, this refers to the target replica count.
 int32 max_unavailable_percentage = 4;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the maxUnavailablePercentage field is set.
 
     
  
  
    
public   boolean   hasMaxUnavailableReplicas ()  
   Absolute count of replicas allowed to be unavailable.
 int32 max_unavailable_replicas = 3;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the maxUnavailableReplicas field is set.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   RolloutOptions . Builder   newBuilderForType ()  
  
  
    
protected   RolloutOptions . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   RolloutOptions . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]