Class UpgradeClusterStatus

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.alloydb.v1beta.UpgradeClusterStatus
All Implemented Interfaces:
UpgradeClusterStatusOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class UpgradeClusterStatus extends com.google.protobuf.GeneratedMessage implements UpgradeClusterStatusOrBuilder
 Message for current status of the Major Version Upgrade operation.
 
Protobuf type google.cloud.alloydb.v1beta.UpgradeClusterStatus
See Also:
  • Field Details

    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • CANCELLABLE_FIELD_NUMBER

      public static final int CANCELLABLE_FIELD_NUMBER
      See Also:
    • SOURCE_VERSION_FIELD_NUMBER

      public static final int SOURCE_VERSION_FIELD_NUMBER
      See Also:
    • TARGET_VERSION_FIELD_NUMBER

      public static final int TARGET_VERSION_FIELD_NUMBER
      See Also:
    • STAGES_FIELD_NUMBER

      public static final int STAGES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getStateValue

      public int getStateValue()
       Cluster Major Version Upgrade state.
       
      .google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status state = 1;
      Specified by:
      getStateValue in interface UpgradeClusterStatusOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public UpgradeClusterResponse.Status getState()
       Cluster Major Version Upgrade state.
       
      .google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status state = 1;
      Specified by:
      getState in interface UpgradeClusterStatusOrBuilder
      Returns:
      The state.
    • getCancellable

      public boolean getCancellable()
       Whether the operation is cancellable.
       
      bool cancellable = 2;
      Specified by:
      getCancellable in interface UpgradeClusterStatusOrBuilder
      Returns:
      The cancellable.
    • getSourceVersionValue

      public int getSourceVersionValue()
       Source database major version.
       
      .google.cloud.alloydb.v1beta.DatabaseVersion source_version = 3;
      Specified by:
      getSourceVersionValue in interface UpgradeClusterStatusOrBuilder
      Returns:
      The enum numeric value on the wire for sourceVersion.
    • getSourceVersion

      public DatabaseVersion getSourceVersion()
       Source database major version.
       
      .google.cloud.alloydb.v1beta.DatabaseVersion source_version = 3;
      Specified by:
      getSourceVersion in interface UpgradeClusterStatusOrBuilder
      Returns:
      The sourceVersion.
    • getTargetVersionValue

      public int getTargetVersionValue()
       Target database major version.
       
      .google.cloud.alloydb.v1beta.DatabaseVersion target_version = 4;
      Specified by:
      getTargetVersionValue in interface UpgradeClusterStatusOrBuilder
      Returns:
      The enum numeric value on the wire for targetVersion.
    • getTargetVersion

      public DatabaseVersion getTargetVersion()
       Target database major version.
       
      .google.cloud.alloydb.v1beta.DatabaseVersion target_version = 4;
      Specified by:
      getTargetVersion in interface UpgradeClusterStatusOrBuilder
      Returns:
      The targetVersion.
    • getStagesList

      public List<UpgradeClusterStatus.StageStatus> getStagesList()
       Status of all upgrade stages.
       
      repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;
      Specified by:
      getStagesList in interface UpgradeClusterStatusOrBuilder
    • getStagesOrBuilderList

      public List<? extends UpgradeClusterStatus.StageStatusOrBuilder> getStagesOrBuilderList()
       Status of all upgrade stages.
       
      repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;
      Specified by:
      getStagesOrBuilderList in interface UpgradeClusterStatusOrBuilder
    • getStagesCount

      public int getStagesCount()
       Status of all upgrade stages.
       
      repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;
      Specified by:
      getStagesCount in interface UpgradeClusterStatusOrBuilder
    • getStages

      public UpgradeClusterStatus.StageStatus getStages(int index)
       Status of all upgrade stages.
       
      repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;
      Specified by:
      getStages in interface UpgradeClusterStatusOrBuilder
    • getStagesOrBuilder

      public UpgradeClusterStatus.StageStatusOrBuilder getStagesOrBuilder(int index)
       Status of all upgrade stages.
       
      repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;
      Specified by:
      getStagesOrBuilder in interface UpgradeClusterStatusOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UpgradeClusterStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpgradeClusterStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpgradeClusterStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpgradeClusterStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpgradeClusterStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpgradeClusterStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpgradeClusterStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpgradeClusterStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpgradeClusterStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpgradeClusterStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpgradeClusterStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpgradeClusterStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UpgradeClusterStatus.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UpgradeClusterStatus.Builder newBuilder()
    • newBuilder

      public static UpgradeClusterStatus.Builder newBuilder(UpgradeClusterStatus prototype)
    • toBuilder

      public UpgradeClusterStatus.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UpgradeClusterStatus.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static UpgradeClusterStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpgradeClusterStatus> parser()
    • getParserForType

      public com.google.protobuf.Parser<UpgradeClusterStatus> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public UpgradeClusterStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder