public static enum SupportedDatabaseFlag.Scope extends Enum<SupportedDatabaseFlag.Scope> implements com.google.protobuf.ProtocolMessageEnum
The scope of the flag.Protobuf enum
google.cloud.alloydb.v1.SupportedDatabaseFlag.Scope| Enum Constant and Description |
|---|
CONNECTION_POOL
The flag is a connection pool flag.
|
DATABASE
The flag is a database flag.
|
SCOPE_UNSPECIFIED
The scope of the flag is not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECTION_POOL_VALUE
The flag is a connection pool flag.
|
static int |
DATABASE_VALUE
The flag is a database flag.
|
static int |
SCOPE_UNSPECIFIED_VALUE
The scope of the flag is not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static SupportedDatabaseFlag.Scope |
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.Scope> |
internalGetValueMap() |
static SupportedDatabaseFlag.Scope |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SupportedDatabaseFlag.Scope |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SupportedDatabaseFlag.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedDatabaseFlag.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedDatabaseFlag.Scope SCOPE_UNSPECIFIED
The scope of the flag is not specified. Default is DATABASE.
SCOPE_UNSPECIFIED = 0;public static final SupportedDatabaseFlag.Scope DATABASE
The flag is a database flag.
DATABASE = 1;public static final SupportedDatabaseFlag.Scope CONNECTION_POOL
The flag is a connection pool flag.
CONNECTION_POOL = 2;public static final SupportedDatabaseFlag.Scope UNRECOGNIZED
public static final int SCOPE_UNSPECIFIED_VALUE
The scope of the flag is not specified. Default is DATABASE.
SCOPE_UNSPECIFIED = 0;public static final int DATABASE_VALUE
The flag is a database flag.
DATABASE = 1;public static final int CONNECTION_POOL_VALUE
The flag is a connection pool flag.
CONNECTION_POOL = 2;public static SupportedDatabaseFlag.Scope[] values()
for (SupportedDatabaseFlag.Scope c : SupportedDatabaseFlag.Scope.values()) System.out.println(c);
public static SupportedDatabaseFlag.Scope 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.Scope valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SupportedDatabaseFlag.Scope forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SupportedDatabaseFlag.Scope> 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.Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.