public enum DatabaseVersion extends Enum<DatabaseVersion> implements com.google.protobuf.ProtocolMessageEnum
The supported database engine versions.Protobuf enum
google.cloud.alloydb.v1.DatabaseVersion| Enum Constant and Description |
|---|
DATABASE_VERSION_UNSPECIFIED
This is an unknown database version.
|
POSTGRES_13
Deprecated.
|
POSTGRES_14
The database version is Postgres 14.
|
POSTGRES_15
The database version is Postgres 15.
|
POSTGRES_16
The database version is Postgres 16.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DATABASE_VERSION_UNSPECIFIED_VALUE
This is an unknown database version.
|
static int |
POSTGRES_13_VALUE
Deprecated.
|
static int |
POSTGRES_14_VALUE
The database version is Postgres 14.
|
static int |
POSTGRES_15_VALUE
The database version is Postgres 15.
|
static int |
POSTGRES_16_VALUE
The database version is Postgres 16.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseVersion |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<DatabaseVersion> |
internalGetValueMap() |
static DatabaseVersion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DatabaseVersion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DatabaseVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseVersion DATABASE_VERSION_UNSPECIFIED
This is an unknown database version.
DATABASE_VERSION_UNSPECIFIED = 0;@Deprecated public static final DatabaseVersion POSTGRES_13
DEPRECATED - The database version is Postgres 13.
POSTGRES_13 = 1 [deprecated = true];public static final DatabaseVersion POSTGRES_14
The database version is Postgres 14.
POSTGRES_14 = 2;public static final DatabaseVersion POSTGRES_15
The database version is Postgres 15.
POSTGRES_15 = 3;public static final DatabaseVersion POSTGRES_16
The database version is Postgres 16.
POSTGRES_16 = 4;public static final DatabaseVersion UNRECOGNIZED
public static final int DATABASE_VERSION_UNSPECIFIED_VALUE
This is an unknown database version.
DATABASE_VERSION_UNSPECIFIED = 0;@Deprecated public static final int POSTGRES_13_VALUE
DEPRECATED - The database version is Postgres 13.
POSTGRES_13 = 1 [deprecated = true];public static final int POSTGRES_14_VALUE
The database version is Postgres 14.
POSTGRES_14 = 2;public static final int POSTGRES_15_VALUE
The database version is Postgres 15.
POSTGRES_15 = 3;public static final int POSTGRES_16_VALUE
The database version is Postgres 16.
POSTGRES_16 = 4;public static DatabaseVersion[] values()
for (DatabaseVersion c : DatabaseVersion.values()) System.out.println(c);
public static DatabaseVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static DatabaseVersion valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DatabaseVersion forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DatabaseVersion> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DatabaseVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.