public static enum MetadataExchangeRequest.AuthType extends Enum<MetadataExchangeRequest.AuthType> implements com.google.protobuf.ProtocolMessageEnum
AuthType contains all supported authentication types.Protobuf enum
google.cloud.alloydb.connectors.v1alpha.MetadataExchangeRequest.AuthType| Enum Constant and Description |
|---|
AUTH_TYPE_UNSPECIFIED
Authentication type is unspecified and DB_NATIVE is used by default
|
AUTO_IAM
Automatic IAM authentication
|
DB_NATIVE
Database native authentication (user/password)
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTH_TYPE_UNSPECIFIED_VALUE
Authentication type is unspecified and DB_NATIVE is used by default
|
static int |
AUTO_IAM_VALUE
Automatic IAM authentication
|
static int |
DB_NATIVE_VALUE
Database native authentication (user/password)
|
| Modifier and Type | Method and Description |
|---|---|
static MetadataExchangeRequest.AuthType |
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<MetadataExchangeRequest.AuthType> |
internalGetValueMap() |
static MetadataExchangeRequest.AuthType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MetadataExchangeRequest.AuthType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MetadataExchangeRequest.AuthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataExchangeRequest.AuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataExchangeRequest.AuthType AUTH_TYPE_UNSPECIFIED
Authentication type is unspecified and DB_NATIVE is used by default
AUTH_TYPE_UNSPECIFIED = 0;public static final MetadataExchangeRequest.AuthType DB_NATIVE
Database native authentication (user/password)
DB_NATIVE = 1;public static final MetadataExchangeRequest.AuthType AUTO_IAM
Automatic IAM authentication
AUTO_IAM = 2;public static final MetadataExchangeRequest.AuthType UNRECOGNIZED
public static final int AUTH_TYPE_UNSPECIFIED_VALUE
Authentication type is unspecified and DB_NATIVE is used by default
AUTH_TYPE_UNSPECIFIED = 0;public static final int DB_NATIVE_VALUE
Database native authentication (user/password)
DB_NATIVE = 1;public static final int AUTO_IAM_VALUE
Automatic IAM authentication
AUTO_IAM = 2;public static MetadataExchangeRequest.AuthType[] values()
for (MetadataExchangeRequest.AuthType c : MetadataExchangeRequest.AuthType.values()) System.out.println(c);
public static MetadataExchangeRequest.AuthType 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 MetadataExchangeRequest.AuthType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MetadataExchangeRequest.AuthType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MetadataExchangeRequest.AuthType> 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 MetadataExchangeRequest.AuthType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.