Enum Class MonthOfYearEnum.MonthOfYear
java.lang.Object
java.lang.Enum<MonthOfYearEnum.MonthOfYear>
com.google.ads.googleads.v18.enums.MonthOfYearEnum.MonthOfYear
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MonthOfYearEnum.MonthOfYear>,Constable
- Enclosing class:
- MonthOfYearEnum
public static enum MonthOfYearEnum.MonthOfYear
extends Enum<MonthOfYearEnum.MonthOfYear>
implements com.google.protobuf.ProtocolMessageEnum
Enumerates months of the year, for example, "January".Protobuf enum
google.ads.googleads.v18.enums.MonthOfYearEnum.MonthOfYear-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intApril.static final intAugust.static final intDecember.static final intFebruary.static final intJanuary.static final intJuly.static final intJune.static final intMarch.static final intMay.static final intNovember.static final intOctober.static final intSeptember.static final intThe value is unknown in this version.static final intNot specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic MonthOfYearEnum.MonthOfYearforNumber(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<MonthOfYearEnum.MonthOfYear>static MonthOfYearEnum.MonthOfYearvalueOf(int value) Deprecated.static MonthOfYearEnum.MonthOfYearvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static MonthOfYearEnum.MonthOfYearReturns the enum constant of this class with the specified name.static MonthOfYearEnum.MonthOfYear[]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
The value is unknown in this version.
UNKNOWN = 1; -
JANUARY
January.
JANUARY = 2; -
FEBRUARY
February.
FEBRUARY = 3; -
MARCH
March.
MARCH = 4; -
APRIL
April.
APRIL = 5; -
MAY
May.
MAY = 6; -
JUNE
June.
JUNE = 7; -
JULY
July.
JULY = 8; -
AUGUST
August.
AUGUST = 9; -
SEPTEMBER
September.
SEPTEMBER = 10; -
OCTOBER
October.
OCTOBER = 11; -
NOVEMBER
November.
NOVEMBER = 12; -
DECEMBER
December.
DECEMBER = 13; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENot specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe value is unknown in this version.
UNKNOWN = 1;- See Also:
-
JANUARY_VALUE
public static final int JANUARY_VALUEJanuary.
JANUARY = 2;- See Also:
-
FEBRUARY_VALUE
public static final int FEBRUARY_VALUEFebruary.
FEBRUARY = 3;- See Also:
-
MARCH_VALUE
public static final int MARCH_VALUEMarch.
MARCH = 4;- See Also:
-
APRIL_VALUE
public static final int APRIL_VALUEApril.
APRIL = 5;- See Also:
-
MAY_VALUE
public static final int MAY_VALUEMay.
MAY = 6;- See Also:
-
JUNE_VALUE
public static final int JUNE_VALUEJune.
JUNE = 7;- See Also:
-
JULY_VALUE
public static final int JULY_VALUEJuly.
JULY = 8;- See Also:
-
AUGUST_VALUE
public static final int AUGUST_VALUEAugust.
AUGUST = 9;- See Also:
-
SEPTEMBER_VALUE
public static final int SEPTEMBER_VALUESeptember.
SEPTEMBER = 10;- See Also:
-
OCTOBER_VALUE
public static final int OCTOBER_VALUEOctober.
OCTOBER = 11;- See Also:
-
NOVEMBER_VALUE
public static final int NOVEMBER_VALUENovember.
NOVEMBER = 12;- See Also:
-
DECEMBER_VALUE
public static final int DECEMBER_VALUEDecember.
DECEMBER = 13;- 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.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<MonthOfYearEnum.MonthOfYear> 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 MonthOfYearEnum.MonthOfYear 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
-