public static enum Google2Client.Google2Scope extends Enum<Google2Client.Google2Scope>
Enum Constant and Description |
---|
EMAIL |
EMAIL_AND_PROFILE |
PROFILE |
Modifier and Type | Method and Description |
---|---|
static Google2Client.Google2Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Google2Client.Google2Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Google2Client.Google2Scope EMAIL
public static final Google2Client.Google2Scope PROFILE
public static final Google2Client.Google2Scope EMAIL_AND_PROFILE
public static Google2Client.Google2Scope[] values()
for (Google2Client.Google2Scope c : Google2Client.Google2Scope.values()) System.out.println(c);
public static Google2Client.Google2Scope 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 nullCopyright © 2016. All rights reserved.