public static enum ScanConfig.Authentication.AuthenticationCase extends Enum<ScanConfig.Authentication.AuthenticationCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
Enum Constant and Description |
---|
AUTHENTICATION_NOT_SET |
CUSTOM_ACCOUNT |
GOOGLE_ACCOUNT |
Modifier and Type | Method and Description |
---|---|
static ScanConfig.Authentication.AuthenticationCase |
forNumber(int value) |
int |
getNumber() |
static ScanConfig.Authentication.AuthenticationCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ScanConfig.Authentication.AuthenticationCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanConfig.Authentication.AuthenticationCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanConfig.Authentication.AuthenticationCase GOOGLE_ACCOUNT
public static final ScanConfig.Authentication.AuthenticationCase CUSTOM_ACCOUNT
public static final ScanConfig.Authentication.AuthenticationCase AUTHENTICATION_NOT_SET
public static ScanConfig.Authentication.AuthenticationCase[] values()
for (ScanConfig.Authentication.AuthenticationCase c : ScanConfig.Authentication.AuthenticationCase.values()) System.out.println(c);
public static ScanConfig.Authentication.AuthenticationCase 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 null@Deprecated public static ScanConfig.Authentication.AuthenticationCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static ScanConfig.Authentication.AuthenticationCase forNumber(int value)
public int getNumber()
getNumber
in interface AbstractMessageLite.InternalOneOfEnum
getNumber
in interface Internal.EnumLite
Copyright © 2022 Google LLC. All rights reserved.