Enum Class PromotionExtensionOccasionEnum.PromotionExtensionOccasion
java.lang.Object
java.lang.Enum<PromotionExtensionOccasionEnum.PromotionExtensionOccasion>
com.google.ads.googleads.v18.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PromotionExtensionOccasionEnum.PromotionExtensionOccasion>,Constable
- Enclosing class:
- PromotionExtensionOccasionEnum
public static enum PromotionExtensionOccasionEnum.PromotionExtensionOccasion
extends Enum<PromotionExtensionOccasionEnum.PromotionExtensionOccasion>
implements com.google.protobuf.ProtocolMessageEnum
A promotion extension occasion.Protobuf enum
google.ads.googleads.v18.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBack To School.Black Friday.Boxing Day.Carnival.Chinese New Year.Christmas.Cyber Monday.Diwali.Easter.Eid al-Adha.Eid al-Fitr.End of any season.Epiphany, also known as Three Kings' Day.Fall Sale.Father's Day.Halloween.Hanukkah.Holi.Independence Day in any country.Labor Day.Mother's Day.National Day in any country.Navratri.New Year's.Parent's Day.Passover.Ramadan.Rosh Hashanah.Singles Day.Available in Thai: Songkran.Spring Sale.St.Summer sale.Used for return value only.Not specified.Valentine's Day.Winter Sale.Women's Day.Available in Japanese: Year-end Gift. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBack To School.static final intBlack Friday.static final intBoxing Day.static final intCarnival.static final intChinese New Year.static final intChristmas.static final intCyber Monday.static final intDiwali.static final intEaster.static final intEid al-Adha.static final intEid al-Fitr.static final intEnd of any season.static final intEpiphany, also known as Three Kings' Day.static final intFall Sale.static final intFather's Day.static final intHalloween.static final intHanukkah.static final intHoli.static final intIndependence Day in any country.static final intLabor Day.static final intMother's Day.static final intNational Day in any country.static final intNavratri.static final intNew Year's.static final intParent's Day.static final intPassover.static final intRamadan.static final intRosh Hashanah.static final intSingles Day.static final intAvailable in Thai: Songkran.static final intSpring Sale.static final intSt.static final intSummer sale.static final intUsed for return value only.static final intNot specified.static final intValentine's Day.static final intWinter Sale.static final intWomen's Day.static final intAvailable in Japanese: Year-end Gift. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PromotionExtensionOccasionEnum.PromotionExtensionOccasion>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Not specified.
UNSPECIFIED = 0; -
UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1; -
NEW_YEARS
New Year's.
NEW_YEARS = 2; -
CHINESE_NEW_YEAR
Chinese New Year.
CHINESE_NEW_YEAR = 3; -
VALENTINES_DAY
Valentine's Day.
VALENTINES_DAY = 4; -
EASTER
Easter.
EASTER = 5; -
MOTHERS_DAY
Mother's Day.
MOTHERS_DAY = 6; -
FATHERS_DAY
Father's Day.
FATHERS_DAY = 7; -
LABOR_DAY
Labor Day.
LABOR_DAY = 8; -
BACK_TO_SCHOOL
Back To School.
BACK_TO_SCHOOL = 9; -
HALLOWEEN
Halloween.
HALLOWEEN = 10; -
BLACK_FRIDAY
Black Friday.
BLACK_FRIDAY = 11; -
CYBER_MONDAY
Cyber Monday.
CYBER_MONDAY = 12; -
CHRISTMAS
Christmas.
CHRISTMAS = 13; -
BOXING_DAY
Boxing Day.
BOXING_DAY = 14; -
INDEPENDENCE_DAY
Independence Day in any country.
INDEPENDENCE_DAY = 15; -
NATIONAL_DAY
National Day in any country.
NATIONAL_DAY = 16; -
END_OF_SEASON
End of any season.
END_OF_SEASON = 17; -
WINTER_SALE
Winter Sale.
WINTER_SALE = 18; -
SUMMER_SALE
Summer sale.
SUMMER_SALE = 19; -
FALL_SALE
Fall Sale.
FALL_SALE = 20; -
SPRING_SALE
Spring Sale.
SPRING_SALE = 21; -
RAMADAN
Ramadan.
RAMADAN = 22; -
EID_AL_FITR
Eid al-Fitr.
EID_AL_FITR = 23; -
EID_AL_ADHA
Eid al-Adha.
EID_AL_ADHA = 24; -
SINGLES_DAY
Singles Day.
SINGLES_DAY = 25; -
WOMENS_DAY
Women's Day.
WOMENS_DAY = 26; -
HOLI
Holi.
HOLI = 27; -
PARENTS_DAY
Parent's Day.
PARENTS_DAY = 28; -
ST_NICHOLAS_DAY
St. Nicholas Day.
ST_NICHOLAS_DAY = 29; -
CARNIVAL
Carnival.
CARNIVAL = 30; -
EPIPHANY
Epiphany, also known as Three Kings' Day.
EPIPHANY = 31; -
ROSH_HASHANAH
Rosh Hashanah.
ROSH_HASHANAH = 32; -
PASSOVER
Passover.
PASSOVER = 33; -
HANUKKAH
Hanukkah.
HANUKKAH = 34; -
DIWALI
Diwali.
DIWALI = 35; -
NAVRATRI
Navratri.
NAVRATRI = 36; -
SONGKRAN
Available in Thai: Songkran.
SONGKRAN = 37; -
YEAR_END_GIFT
Available in Japanese: Year-end Gift.
YEAR_END_GIFT = 38; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENot specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUsed for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
-
NEW_YEARS_VALUE
public static final int NEW_YEARS_VALUENew Year's.
NEW_YEARS = 2;- See Also:
-
CHINESE_NEW_YEAR_VALUE
public static final int CHINESE_NEW_YEAR_VALUEChinese New Year.
CHINESE_NEW_YEAR = 3;- See Also:
-
VALENTINES_DAY_VALUE
public static final int VALENTINES_DAY_VALUEValentine's Day.
VALENTINES_DAY = 4;- See Also:
-
EASTER_VALUE
public static final int EASTER_VALUEEaster.
EASTER = 5;- See Also:
-
MOTHERS_DAY_VALUE
public static final int MOTHERS_DAY_VALUEMother's Day.
MOTHERS_DAY = 6;- See Also:
-
FATHERS_DAY_VALUE
public static final int FATHERS_DAY_VALUEFather's Day.
FATHERS_DAY = 7;- See Also:
-
LABOR_DAY_VALUE
public static final int LABOR_DAY_VALUELabor Day.
LABOR_DAY = 8;- See Also:
-
BACK_TO_SCHOOL_VALUE
public static final int BACK_TO_SCHOOL_VALUEBack To School.
BACK_TO_SCHOOL = 9;- See Also:
-
HALLOWEEN_VALUE
public static final int HALLOWEEN_VALUEHalloween.
HALLOWEEN = 10;- See Also:
-
BLACK_FRIDAY_VALUE
public static final int BLACK_FRIDAY_VALUEBlack Friday.
BLACK_FRIDAY = 11;- See Also:
-
CYBER_MONDAY_VALUE
public static final int CYBER_MONDAY_VALUECyber Monday.
CYBER_MONDAY = 12;- See Also:
-
CHRISTMAS_VALUE
public static final int CHRISTMAS_VALUEChristmas.
CHRISTMAS = 13;- See Also:
-
BOXING_DAY_VALUE
public static final int BOXING_DAY_VALUEBoxing Day.
BOXING_DAY = 14;- See Also:
-
INDEPENDENCE_DAY_VALUE
public static final int INDEPENDENCE_DAY_VALUEIndependence Day in any country.
INDEPENDENCE_DAY = 15;- See Also:
-
NATIONAL_DAY_VALUE
public static final int NATIONAL_DAY_VALUENational Day in any country.
NATIONAL_DAY = 16;- See Also:
-
END_OF_SEASON_VALUE
public static final int END_OF_SEASON_VALUEEnd of any season.
END_OF_SEASON = 17;- See Also:
-
WINTER_SALE_VALUE
public static final int WINTER_SALE_VALUEWinter Sale.
WINTER_SALE = 18;- See Also:
-
SUMMER_SALE_VALUE
public static final int SUMMER_SALE_VALUESummer sale.
SUMMER_SALE = 19;- See Also:
-
FALL_SALE_VALUE
public static final int FALL_SALE_VALUEFall Sale.
FALL_SALE = 20;- See Also:
-
SPRING_SALE_VALUE
public static final int SPRING_SALE_VALUESpring Sale.
SPRING_SALE = 21;- See Also:
-
RAMADAN_VALUE
public static final int RAMADAN_VALUERamadan.
RAMADAN = 22;- See Also:
-
EID_AL_FITR_VALUE
public static final int EID_AL_FITR_VALUEEid al-Fitr.
EID_AL_FITR = 23;- See Also:
-
EID_AL_ADHA_VALUE
public static final int EID_AL_ADHA_VALUEEid al-Adha.
EID_AL_ADHA = 24;- See Also:
-
SINGLES_DAY_VALUE
public static final int SINGLES_DAY_VALUESingles Day.
SINGLES_DAY = 25;- See Also:
-
WOMENS_DAY_VALUE
public static final int WOMENS_DAY_VALUEWomen's Day.
WOMENS_DAY = 26;- See Also:
-
HOLI_VALUE
public static final int HOLI_VALUEHoli.
HOLI = 27;- See Also:
-
PARENTS_DAY_VALUE
public static final int PARENTS_DAY_VALUEParent's Day.
PARENTS_DAY = 28;- See Also:
-
ST_NICHOLAS_DAY_VALUE
public static final int ST_NICHOLAS_DAY_VALUESt. Nicholas Day.
ST_NICHOLAS_DAY = 29;- See Also:
-
CARNIVAL_VALUE
public static final int CARNIVAL_VALUECarnival.
CARNIVAL = 30;- See Also:
-
EPIPHANY_VALUE
public static final int EPIPHANY_VALUEEpiphany, also known as Three Kings' Day.
EPIPHANY = 31;- See Also:
-
ROSH_HASHANAH_VALUE
public static final int ROSH_HASHANAH_VALUERosh Hashanah.
ROSH_HASHANAH = 32;- See Also:
-
PASSOVER_VALUE
public static final int PASSOVER_VALUEPassover.
PASSOVER = 33;- See Also:
-
HANUKKAH_VALUE
public static final int HANUKKAH_VALUEHanukkah.
HANUKKAH = 34;- See Also:
-
DIWALI_VALUE
public static final int DIWALI_VALUEDiwali.
DIWALI = 35;- See Also:
-
NAVRATRI_VALUE
public static final int NAVRATRI_VALUENavratri.
NAVRATRI = 36;- See Also:
-
SONGKRAN_VALUE
public static final int SONGKRAN_VALUEAvailable in Thai: Songkran.
SONGKRAN = 37;- See Also:
-
YEAR_END_GIFT_VALUE
public static final int YEAR_END_GIFT_VALUEAvailable in Japanese: Year-end Gift.
YEAR_END_GIFT = 38;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static PromotionExtensionOccasionEnum.PromotionExtensionOccasion valueOf(int value) Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PromotionExtensionOccasionEnum.PromotionExtensionOccasion> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static PromotionExtensionOccasionEnum.PromotionExtensionOccasion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-