Package com.google.type
Enum Class Month
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Month>
,Constable
Represents a month in the Gregorian calendar.Protobuf enum
google.type.Month
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe month of April.The month of August.The month of December.The month of February.The month of January.The month of July.The month of June.The month of March.The month of May.The unspecified month.The month of November.The month of October.The month of September. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The month of April.static final int
The month of August.static final int
The month of December.static final int
The month of February.static final int
The month of January.static final int
The month of July.static final int
The month of June.static final int
The month of March.static final int
The month of May.static final int
The unspecified month.static final int
The month of November.static final int
The month of October.static final int
The month of September. -
Method Summary
Modifier and TypeMethodDescriptionstatic Month
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Month>
static com.google.protobuf.Internal.EnumVerifier
static Month
valueOf
(int value) Deprecated.static Month
Returns the enum constant of this class with the specified name.static Month[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MONTH_UNSPECIFIED
The unspecified month.
MONTH_UNSPECIFIED = 0;
-
JANUARY
The month of January.
JANUARY = 1;
-
FEBRUARY
The month of February.
FEBRUARY = 2;
-
MARCH
The month of March.
MARCH = 3;
-
APRIL
The month of April.
APRIL = 4;
-
MAY
The month of May.
MAY = 5;
-
JUNE
The month of June.
JUNE = 6;
-
JULY
The month of July.
JULY = 7;
-
AUGUST
The month of August.
AUGUST = 8;
-
SEPTEMBER
The month of September.
SEPTEMBER = 9;
-
OCTOBER
The month of October.
OCTOBER = 10;
-
NOVEMBER
The month of November.
NOVEMBER = 11;
-
DECEMBER
The month of December.
DECEMBER = 12;
-
UNRECOGNIZED
-
-
Field Details
-
MONTH_UNSPECIFIED_VALUE
public static final int MONTH_UNSPECIFIED_VALUEThe unspecified month.
MONTH_UNSPECIFIED = 0;
- See Also:
-
JANUARY_VALUE
public static final int JANUARY_VALUEThe month of January.
JANUARY = 1;
- See Also:
-
FEBRUARY_VALUE
public static final int FEBRUARY_VALUEThe month of February.
FEBRUARY = 2;
- See Also:
-
MARCH_VALUE
public static final int MARCH_VALUEThe month of March.
MARCH = 3;
- See Also:
-
APRIL_VALUE
public static final int APRIL_VALUEThe month of April.
APRIL = 4;
- See Also:
-
MAY_VALUE
public static final int MAY_VALUEThe month of May.
MAY = 5;
- See Also:
-
JUNE_VALUE
public static final int JUNE_VALUEThe month of June.
JUNE = 6;
- See Also:
-
JULY_VALUE
public static final int JULY_VALUEThe month of July.
JULY = 7;
- See Also:
-
AUGUST_VALUE
public static final int AUGUST_VALUEThe month of August.
AUGUST = 8;
- See Also:
-
SEPTEMBER_VALUE
public static final int SEPTEMBER_VALUEThe month of September.
SEPTEMBER = 9;
- See Also:
-
OCTOBER_VALUE
public static final int OCTOBER_VALUEThe month of October.
OCTOBER = 10;
- See Also:
-
NOVEMBER_VALUE
public static final int NOVEMBER_VALUEThe month of November.
NOVEMBER = 11;
- See Also:
-
DECEMBER_VALUE
public static final int DECEMBER_VALUEThe month of December.
DECEMBER = 12;
- 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
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
-
internalGetValueMap
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-