Enum DatabaseVersion

java.lang.Object
java.lang.Enum<DatabaseVersion>
com.google.cloud.alloydb.v1beta.DatabaseVersion
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<DatabaseVersion>

@Generated public enum DatabaseVersion extends Enum<DatabaseVersion> implements com.google.protobuf.ProtocolMessageEnum
 The supported database engine versions.
 
Protobuf enum google.cloud.alloydb.v1beta.DatabaseVersion
  • Enum Constant Details

    • DATABASE_VERSION_UNSPECIFIED

      public static final DatabaseVersion DATABASE_VERSION_UNSPECIFIED
       This is an unknown database version.
       
      DATABASE_VERSION_UNSPECIFIED = 0;
    • POSTGRES_13

      @Deprecated public static final DatabaseVersion POSTGRES_13
      Deprecated.
       DEPRECATED - The database version is Postgres 13.
       
      POSTGRES_13 = 1 [deprecated = true];
    • POSTGRES_14

      public static final DatabaseVersion POSTGRES_14
       The database version is Postgres 14.
       
      POSTGRES_14 = 2;
    • POSTGRES_15

      public static final DatabaseVersion POSTGRES_15
       The database version is Postgres 15.
       
      POSTGRES_15 = 3;
    • POSTGRES_16

      public static final DatabaseVersion POSTGRES_16
       The database version is Postgres 16.
       
      POSTGRES_16 = 4;
    • POSTGRES_17

      public static final DatabaseVersion POSTGRES_17
       The database version is Postgres 17.
       
      POSTGRES_17 = 5;
    • POSTGRES_18

      public static final DatabaseVersion POSTGRES_18
       The database version is Postgres 18.
       
      POSTGRES_18 = 6;
    • UNRECOGNIZED

      public static final DatabaseVersion UNRECOGNIZED
  • Field Details

    • DATABASE_VERSION_UNSPECIFIED_VALUE

      public static final int DATABASE_VERSION_UNSPECIFIED_VALUE
       This is an unknown database version.
       
      DATABASE_VERSION_UNSPECIFIED = 0;
      See Also:
    • POSTGRES_13_VALUE

      @Deprecated public static final int POSTGRES_13_VALUE
      Deprecated.
       DEPRECATED - The database version is Postgres 13.
       
      POSTGRES_13 = 1 [deprecated = true];
      See Also:
    • POSTGRES_14_VALUE

      public static final int POSTGRES_14_VALUE
       The database version is Postgres 14.
       
      POSTGRES_14 = 2;
      See Also:
    • POSTGRES_15_VALUE

      public static final int POSTGRES_15_VALUE
       The database version is Postgres 15.
       
      POSTGRES_15 = 3;
      See Also:
    • POSTGRES_16_VALUE

      public static final int POSTGRES_16_VALUE
       The database version is Postgres 16.
       
      POSTGRES_16 = 4;
      See Also:
    • POSTGRES_17_VALUE

      public static final int POSTGRES_17_VALUE
       The database version is Postgres 17.
       
      POSTGRES_17 = 5;
      See Also:
    • POSTGRES_18_VALUE

      public static final int POSTGRES_18_VALUE
       The database version is Postgres 18.
       
      POSTGRES_18 = 6;
      See Also:
  • Method Details

    • values

      public static DatabaseVersion[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DatabaseVersion valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static DatabaseVersion valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static DatabaseVersion forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<DatabaseVersion> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static DatabaseVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null