public static enum User.UserType extends Enum<User.UserType> implements com.google.protobuf.ProtocolMessageEnum
Enum that details the user type.Protobuf enum
google.cloud.alloydb.v1.User.UserType| Enum Constant and Description |
|---|
ALLOYDB_BUILT_IN
The default user type that authenticates via password-based
authentication.
|
ALLOYDB_IAM_USER
Database user that can authenticate via IAM-Based authentication.
|
UNRECOGNIZED |
USER_TYPE_UNSPECIFIED
Unspecified user type.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOYDB_BUILT_IN_VALUE
The default user type that authenticates via password-based
authentication.
|
static int |
ALLOYDB_IAM_USER_VALUE
Database user that can authenticate via IAM-Based authentication.
|
static int |
USER_TYPE_UNSPECIFIED_VALUE
Unspecified user type.
|
| Modifier and Type | Method and Description |
|---|---|
static User.UserType |
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<User.UserType> |
internalGetValueMap() |
static User.UserType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static User.UserType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static User.UserType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static User.UserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final User.UserType USER_TYPE_UNSPECIFIED
Unspecified user type.
USER_TYPE_UNSPECIFIED = 0;public static final User.UserType ALLOYDB_BUILT_IN
The default user type that authenticates via password-based authentication.
ALLOYDB_BUILT_IN = 1;public static final User.UserType ALLOYDB_IAM_USER
Database user that can authenticate via IAM-Based authentication.
ALLOYDB_IAM_USER = 2;public static final User.UserType UNRECOGNIZED
public static final int USER_TYPE_UNSPECIFIED_VALUE
Unspecified user type.
USER_TYPE_UNSPECIFIED = 0;public static final int ALLOYDB_BUILT_IN_VALUE
The default user type that authenticates via password-based authentication.
ALLOYDB_BUILT_IN = 1;public static final int ALLOYDB_IAM_USER_VALUE
Database user that can authenticate via IAM-Based authentication.
ALLOYDB_IAM_USER = 2;public static User.UserType[] values()
for (User.UserType c : User.UserType.values()) System.out.println(c);
public static User.UserType 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 User.UserType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static User.UserType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<User.UserType> 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 User.UserType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.