public enum GrpGender extends Enum<GrpGender>
Java class for GrpGender.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GrpGender">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="GENDER_UNKNOWN"/>
<enumeration value="GENDER_FEMALE"/>
<enumeration value="GENDER_MALE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
GENDER_FEMALE |
GENDER_MALE |
GENDER_UNKNOWN
When gender is not available due to low impression levels, GRP privacy thresholds are activated
and prevent us from specifying gender.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static GrpGender |
fromValue(String v) |
String |
value() |
static GrpGender |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpGender[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpGender UNKNOWN
public static final GrpGender GENDER_UNKNOWN
public static final GrpGender GENDER_FEMALE
public static final GrpGender GENDER_MALE
public static GrpGender[] values()
for (GrpGender c : GrpGender.values()) System.out.println(c);
public static GrpGender 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 String value()
Copyright © 2018. All Rights Reserved.