public static enum SupportedDatabaseFlag.ValueType extends Enum<SupportedDatabaseFlag.ValueType> implements com.google.protobuf.ProtocolMessageEnum
ValueType describes the semantic type of the value that the flag accepts. Regardless of the ValueType, the Instance.database_flags field accepts the stringified version of the value, i.e. "20" or "3.14".Protobuf enum
google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType| Enum Constant and Description |
|---|
FLOAT
Float type flag.
|
INTEGER
Integer type flag.
|
NONE
Denotes that the flag does not accept any values.
|
STRING
String type flag.
|
UNRECOGNIZED |
VALUE_TYPE_UNSPECIFIED
This is an unknown flag type.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
FLOAT_VALUE
Float type flag.
|
static int |
INTEGER_VALUE
Integer type flag.
|
static int |
NONE_VALUE
Denotes that the flag does not accept any values.
|
static int |
STRING_VALUE
String type flag.
|
static int |
VALUE_TYPE_UNSPECIFIED_VALUE
This is an unknown flag type.
|
| Modifier and Type | Method and Description |
|---|---|
static SupportedDatabaseFlag.ValueType |
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<SupportedDatabaseFlag.ValueType> |
internalGetValueMap() |
static SupportedDatabaseFlag.ValueType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SupportedDatabaseFlag.ValueType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SupportedDatabaseFlag.ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedDatabaseFlag.ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedDatabaseFlag.ValueType VALUE_TYPE_UNSPECIFIED
This is an unknown flag type.
VALUE_TYPE_UNSPECIFIED = 0;public static final SupportedDatabaseFlag.ValueType STRING
String type flag.
STRING = 1;public static final SupportedDatabaseFlag.ValueType INTEGER
Integer type flag.
INTEGER = 2;public static final SupportedDatabaseFlag.ValueType FLOAT
Float type flag.
FLOAT = 3;public static final SupportedDatabaseFlag.ValueType NONE
Denotes that the flag does not accept any values.
NONE = 4;public static final SupportedDatabaseFlag.ValueType UNRECOGNIZED
public static final int VALUE_TYPE_UNSPECIFIED_VALUE
This is an unknown flag type.
VALUE_TYPE_UNSPECIFIED = 0;public static final int STRING_VALUE
String type flag.
STRING = 1;public static final int INTEGER_VALUE
Integer type flag.
INTEGER = 2;public static final int FLOAT_VALUE
Float type flag.
FLOAT = 3;public static final int NONE_VALUE
Denotes that the flag does not accept any values.
NONE = 4;public static SupportedDatabaseFlag.ValueType[] values()
for (SupportedDatabaseFlag.ValueType c : SupportedDatabaseFlag.ValueType.values()) System.out.println(c);
public static SupportedDatabaseFlag.ValueType 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 SupportedDatabaseFlag.ValueType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SupportedDatabaseFlag.ValueType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SupportedDatabaseFlag.ValueType> 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 SupportedDatabaseFlag.ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.