Class UpgradeClusterResponse

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

@Generated public final class UpgradeClusterResponse extends com.google.protobuf.GeneratedMessage implements UpgradeClusterResponseOrBuilder
 UpgradeClusterResponse contains the response for upgrade cluster operation.
 
Protobuf type google.cloud.alloydb.v1beta.UpgradeClusterResponse
See Also:
  • Field Details

    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • MESSAGE_FIELD_NUMBER

      public static final int MESSAGE_FIELD_NUMBER
      See Also:
    • CLUSTER_UPGRADE_DETAILS_FIELD_NUMBER

      public static final int CLUSTER_UPGRADE_DETAILS_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
    • getStatusValue

      public int getStatusValue()
       Status of upgrade operation.
       
      .google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;
      Specified by:
      getStatusValue in interface UpgradeClusterResponseOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public UpgradeClusterResponse.Status getStatus()
       Status of upgrade operation.
       
      .google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;
      Specified by:
      getStatus in interface UpgradeClusterResponseOrBuilder
      Returns:
      The status.
    • getMessage

      public String getMessage()
       A user friendly message summarising the upgrade operation details and the
       next steps for the user if there is any.
       
      string message = 2;
      Specified by:
      getMessage in interface UpgradeClusterResponseOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       A user friendly message summarising the upgrade operation details and the
       next steps for the user if there is any.
       
      string message = 2;
      Specified by:
      getMessageBytes in interface UpgradeClusterResponseOrBuilder
      Returns:
      The bytes for message.
    • getClusterUpgradeDetailsList

      public List<UpgradeClusterResponse.ClusterUpgradeDetails> getClusterUpgradeDetailsList()
       Array of upgrade details for the current cluster and all the secondary
       clusters associated with this cluster.
       
      repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
      Specified by:
      getClusterUpgradeDetailsList in interface UpgradeClusterResponseOrBuilder
    • getClusterUpgradeDetailsOrBuilderList

      public List<? extends UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder> getClusterUpgradeDetailsOrBuilderList()
       Array of upgrade details for the current cluster and all the secondary
       clusters associated with this cluster.
       
      repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
      Specified by:
      getClusterUpgradeDetailsOrBuilderList in interface UpgradeClusterResponseOrBuilder
    • getClusterUpgradeDetailsCount

      public int getClusterUpgradeDetailsCount()
       Array of upgrade details for the current cluster and all the secondary
       clusters associated with this cluster.
       
      repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
      Specified by:
      getClusterUpgradeDetailsCount in interface UpgradeClusterResponseOrBuilder
    • getClusterUpgradeDetails

      public UpgradeClusterResponse.ClusterUpgradeDetails getClusterUpgradeDetails(int index)
       Array of upgrade details for the current cluster and all the secondary
       clusters associated with this cluster.
       
      repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
      Specified by:
      getClusterUpgradeDetails in interface UpgradeClusterResponseOrBuilder
    • getClusterUpgradeDetailsOrBuilder

      public UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder getClusterUpgradeDetailsOrBuilder(int index)
       Array of upgrade details for the current cluster and all the secondary
       clusters associated with this cluster.
       
      repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
      Specified by:
      getClusterUpgradeDetailsOrBuilder in interface UpgradeClusterResponseOrBuilder
    • 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 UpgradeClusterResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static UpgradeClusterResponse.Builder newBuilder()
    • newBuilder

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

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

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

      public static UpgradeClusterResponse getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<UpgradeClusterResponse> 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 UpgradeClusterResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder