Enum MonthOfYearEnum.MonthOfYear
- java.lang.Object
-
- java.lang.Enum<MonthOfYearEnum.MonthOfYear>
-
- com.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<MonthOfYearEnum.MonthOfYear>
- Enclosing class:
- MonthOfYearEnum
public static enum MonthOfYearEnum.MonthOfYear extends java.lang.Enum<MonthOfYearEnum.MonthOfYear> implements com.google.protobuf.ProtocolMessageEnum
Enumerates months of the year, e.g., "January".
Protobuf enumgoogle.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APRILApril.AUGUSTAugust.DECEMBERDecember.FEBRUARYFebruary.JANUARYJanuary.JULYJuly.JUNEJune.MARCHMarch.MAYMay.NOVEMBERNovember.OCTOBEROctober.SEPTEMBERSeptember.UNKNOWNThe value is unknown in this version.UNRECOGNIZEDUNSPECIFIEDNot specified.
-
Field Summary
Fields Modifier and Type Field Description static intAPRIL_VALUEApril.static intAUGUST_VALUEAugust.static intDECEMBER_VALUEDecember.static intFEBRUARY_VALUEFebruary.static intJANUARY_VALUEJanuary.static intJULY_VALUEJuly.static intJUNE_VALUEJune.static intMARCH_VALUEMarch.static intMAY_VALUEMay.static intNOVEMBER_VALUENovember.static intOCTOBER_VALUEOctober.static intSEPTEMBER_VALUESeptember.static intUNKNOWN_VALUEThe value is unknown in this version.static intUNSPECIFIED_VALUENot specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MonthOfYearEnum.MonthOfYearforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<MonthOfYearEnum.MonthOfYear>internalGetValueMap()static MonthOfYearEnum.MonthOfYearvalueOf(int value)Deprecated.static MonthOfYearEnum.MonthOfYearvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static MonthOfYearEnum.MonthOfYearvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MonthOfYearEnum.MonthOfYear[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final MonthOfYearEnum.MonthOfYear UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final MonthOfYearEnum.MonthOfYear UNKNOWN
The value is unknown in this version.
UNKNOWN = 1;
-
JANUARY
public static final MonthOfYearEnum.MonthOfYear JANUARY
January.
JANUARY = 2;
-
FEBRUARY
public static final MonthOfYearEnum.MonthOfYear FEBRUARY
February.
FEBRUARY = 3;
-
MARCH
public static final MonthOfYearEnum.MonthOfYear MARCH
March.
MARCH = 4;
-
APRIL
public static final MonthOfYearEnum.MonthOfYear APRIL
April.
APRIL = 5;
-
MAY
public static final MonthOfYearEnum.MonthOfYear MAY
May.
MAY = 6;
-
JUNE
public static final MonthOfYearEnum.MonthOfYear JUNE
June.
JUNE = 7;
-
JULY
public static final MonthOfYearEnum.MonthOfYear JULY
July.
JULY = 8;
-
AUGUST
public static final MonthOfYearEnum.MonthOfYear AUGUST
August.
AUGUST = 9;
-
SEPTEMBER
public static final MonthOfYearEnum.MonthOfYear SEPTEMBER
September.
SEPTEMBER = 10;
-
OCTOBER
public static final MonthOfYearEnum.MonthOfYear OCTOBER
October.
OCTOBER = 11;
-
NOVEMBER
public static final MonthOfYearEnum.MonthOfYear NOVEMBER
November.
NOVEMBER = 12;
-
DECEMBER
public static final MonthOfYearEnum.MonthOfYear DECEMBER
December.
DECEMBER = 13;
-
UNRECOGNIZED
public static final MonthOfYearEnum.MonthOfYear UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Not specified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The value is unknown in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
JANUARY_VALUE
public static final int JANUARY_VALUE
January.
JANUARY = 2;- See Also:
- Constant Field Values
-
FEBRUARY_VALUE
public static final int FEBRUARY_VALUE
February.
FEBRUARY = 3;- See Also:
- Constant Field Values
-
MARCH_VALUE
public static final int MARCH_VALUE
March.
MARCH = 4;- See Also:
- Constant Field Values
-
APRIL_VALUE
public static final int APRIL_VALUE
April.
APRIL = 5;- See Also:
- Constant Field Values
-
MAY_VALUE
public static final int MAY_VALUE
May.
MAY = 6;- See Also:
- Constant Field Values
-
JUNE_VALUE
public static final int JUNE_VALUE
June.
JUNE = 7;- See Also:
- Constant Field Values
-
JULY_VALUE
public static final int JULY_VALUE
July.
JULY = 8;- See Also:
- Constant Field Values
-
AUGUST_VALUE
public static final int AUGUST_VALUE
August.
AUGUST = 9;- See Also:
- Constant Field Values
-
SEPTEMBER_VALUE
public static final int SEPTEMBER_VALUE
September.
SEPTEMBER = 10;- See Also:
- Constant Field Values
-
OCTOBER_VALUE
public static final int OCTOBER_VALUE
October.
OCTOBER = 11;- See Also:
- Constant Field Values
-
NOVEMBER_VALUE
public static final int NOVEMBER_VALUE
November.
NOVEMBER = 12;- See Also:
- Constant Field Values
-
DECEMBER_VALUE
public static final int DECEMBER_VALUE
December.
DECEMBER = 13;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static MonthOfYearEnum.MonthOfYear[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MonthOfYearEnum.MonthOfYear c : MonthOfYearEnum.MonthOfYear.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MonthOfYearEnum.MonthOfYear valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 MonthOfYearEnum.MonthOfYear valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static MonthOfYearEnum.MonthOfYear forNumber(int value)
- 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-