Class UpgradeClusterStatus (0.46.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 0.46.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  UpgradeClusterStatus   extends   GeneratedMessageV3   implements   UpgradeClusterStatusOrBuilder  
   
   Message for current status of the Major Version Upgrade operation.
 Protobuf type google.cloud.alloydb.v1beta.UpgradeClusterStatus
 
  
  
  
    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
   
  CANCELLABLE_FIELD_NUMBER 
  
    
public   static   final   int   CANCELLABLE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  SOURCE_VERSION_FIELD_NUMBER 
  
    
public   static   final   int   SOURCE_VERSION_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  STAGES_FIELD_NUMBER 
  
    
public   static   final   int   STAGES_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  STATE_FIELD_NUMBER 
  
    
public   static   final   int   STATE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  TARGET_VERSION_FIELD_NUMBER 
  
    
public   static   final   int   TARGET_VERSION_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   UpgradeClusterStatus   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   UpgradeClusterStatus . Builder   newBuilder ()  
   
  
   
  newBuilder(UpgradeClusterStatus prototype) 
  
    
public   static   UpgradeClusterStatus . Builder   newBuilder ( UpgradeClusterStatus   prototype )  
   
  
  
   
  
  
    
public   static   UpgradeClusterStatus   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   UpgradeClusterStatus   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   UpgradeClusterStatus   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UpgradeClusterStatus   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   UpgradeClusterStatus   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UpgradeClusterStatus   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   UpgradeClusterStatus   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   UpgradeClusterStatus   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   UpgradeClusterStatus   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   UpgradeClusterStatus   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   UpgradeClusterStatus   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UpgradeClusterStatus   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<UpgradeClusterStatus>   parser ()  
   
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getCancellable() 
  
    
public   boolean   getCancellable ()  
   
   Whether the operation is cancellable.
 bool cancellable = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        The cancellable.
 
       
     
  
   
  getDefaultInstanceForType() 
  
    
public   UpgradeClusterStatus   getDefaultInstanceForType ()  
   
  
   
  getParserForType() 
  
    
public   Parser<UpgradeClusterStatus>   getParserForType ()  
   
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  getSourceVersion() 
  
    
public   DatabaseVersion   getSourceVersion ()  
   
   Source database major version.
 .google.cloud.alloydb.v1beta.DatabaseVersion source_version = 3;
 
  
   
  getSourceVersionValue() 
  
    
public   int   getSourceVersionValue ()  
   
   Source database major version.
 .google.cloud.alloydb.v1beta.DatabaseVersion source_version = 3;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The enum numeric value on the wire for sourceVersion.
 
       
     
  
   
  getStages(int index) 
  
    
public   UpgradeClusterStatus . StageStatus   getStages ( int   index )  
   
   Status of all upgrade stages.
 repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int  
       
     
  
  
   
  getStagesCount() 
  
    
public   int   getStagesCount ()  
   
   Status of all upgrade stages.
 repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
   
  getStagesList() 
  
    
public   List<UpgradeClusterStatus . StageStatus >  getStagesList ()  
   
   Status of all upgrade stages.
 repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;
 
  
   
  getStagesOrBuilder(int index) 
  
    
public   UpgradeClusterStatus . StageStatusOrBuilder   getStagesOrBuilder ( int   index )  
   
   Status of all upgrade stages.
 repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int  
       
     
  
  
   
  getStagesOrBuilderList() 
  
    
public   List <?   extends   UpgradeClusterStatus . StageStatusOrBuilder >  getStagesOrBuilderList ()  
   
   Status of all upgrade stages.
 repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        List <? extends com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatusOrBuilder > 
         
       
     
  
   
  getState() 
  
    
public   UpgradeClusterResponse . Status   getState ()  
   
   Cluster Major Version Upgrade state.
 .google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status state = 1;
 
  
   
  getStateValue() 
  
    
public   int   getStateValue ()  
   
   Cluster Major Version Upgrade state.
 .google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status state = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The enum numeric value on the wire for state.
 
       
     
  
   
  getTargetVersion() 
  
    
public   DatabaseVersion   getTargetVersion ()  
   
   Target database major version.
 .google.cloud.alloydb.v1beta.DatabaseVersion target_version = 4;
 
  
   
  getTargetVersionValue() 
  
    
public   int   getTargetVersionValue ()  
   
   Target database major version.
 .google.cloud.alloydb.v1beta.DatabaseVersion target_version = 4;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The enum numeric value on the wire for targetVersion.
 
       
     
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   UpgradeClusterStatus . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   UpgradeClusterStatus . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   UpgradeClusterStatus . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
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-30 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-30 UTC."],[],[]]