public static enum Credentials.Mechanism extends Enum<Credentials.Mechanism> implements com.google.protobuf.ProtocolMessageEnum
auditlog.v2.Credentials.Mechanism
Enum Constant and Description |
---|
HTTP_BASIC
IdSecretCredentials
|
HTTP_BEARER
IdTokenCredentials
|
MTLS
CertificateCredentials
|
SASL_GSSAPI |
SASL_OAUTHBEARER
IdTokenCredentials
|
SASL_PLAIN
IdSecretCredentials
|
SASL_SCRAM
IdSecretCredentials
|
UNRECOGNIZED |
UNSET
UNSET = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
HTTP_BASIC_VALUE
IdSecretCredentials
|
static int |
HTTP_BEARER_VALUE
IdTokenCredentials
|
static int |
MTLS_VALUE
CertificateCredentials
|
static int |
SASL_GSSAPI_VALUE |
static int |
SASL_OAUTHBEARER_VALUE
IdTokenCredentials
|
static int |
SASL_PLAIN_VALUE
IdSecretCredentials
|
static int |
SASL_SCRAM_VALUE
IdSecretCredentials
|
static int |
UNSET_VALUE
UNSET = 0; |
Modifier and Type | Method and Description |
---|---|
static Credentials.Mechanism |
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<Credentials.Mechanism> |
internalGetValueMap() |
static Credentials.Mechanism |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Credentials.Mechanism |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Credentials.Mechanism |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Credentials.Mechanism[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Credentials.Mechanism UNSET
UNSET = 0;
public static final Credentials.Mechanism SASL_PLAIN
IdSecretCredentials
SASL_PLAIN = 1;
public static final Credentials.Mechanism SASL_SCRAM
IdSecretCredentials
SASL_SCRAM = 2;
public static final Credentials.Mechanism SASL_OAUTHBEARER
IdTokenCredentials
SASL_OAUTHBEARER = 3;
public static final Credentials.Mechanism SASL_GSSAPI
SASL_GSSAPI = 4;
public static final Credentials.Mechanism MTLS
CertificateCredentials
MTLS = 5;
public static final Credentials.Mechanism HTTP_BASIC
IdSecretCredentials
HTTP_BASIC = 6;
public static final Credentials.Mechanism HTTP_BEARER
IdTokenCredentials
HTTP_BEARER = 7;
public static final Credentials.Mechanism UNRECOGNIZED
public static final int UNSET_VALUE
UNSET = 0;
public static final int SASL_PLAIN_VALUE
IdSecretCredentials
SASL_PLAIN = 1;
public static final int SASL_SCRAM_VALUE
IdSecretCredentials
SASL_SCRAM = 2;
public static final int SASL_OAUTHBEARER_VALUE
IdTokenCredentials
SASL_OAUTHBEARER = 3;
public static final int SASL_GSSAPI_VALUE
SASL_GSSAPI = 4;
public static final int MTLS_VALUE
CertificateCredentials
MTLS = 5;
public static final int HTTP_BASIC_VALUE
IdSecretCredentials
HTTP_BASIC = 6;
public static final int HTTP_BEARER_VALUE
IdTokenCredentials
HTTP_BEARER = 7;
public static Credentials.Mechanism[] values()
for (Credentials.Mechanism c : Credentials.Mechanism.values()) System.out.println(c);
public static Credentials.Mechanism 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Credentials.Mechanism valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Credentials.Mechanism forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Credentials.Mechanism> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Credentials.Mechanism valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)