Package ucar.nc2.ft2.coverage.remote
Enum CdmrFeatureProto.Calendar
- java.lang.Object
-
- java.lang.Enum<CdmrFeatureProto.Calendar>
-
- ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<CdmrFeatureProto.Calendar>
- Enclosing class:
- CdmrFeatureProto
public static enum CdmrFeatureProto.Calendar extends Enum<CdmrFeatureProto.Calendar> implements com.google.protobuf.ProtocolMessageEnum
same as ucar.nc2.time.Calendar
Protobuf enumCalendar
-
-
Enum Constant Summary
Enum Constants Enum Constant Description all_leap
all_leap = 3;
gregorian
gregorian = 1;
julian
julian = 5;
noleap
noleap = 2;
none
none = 6;
proleptic_gregorian
proleptic_gregorian = 0;
uniform30day
uniform30day = 4;
UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
all_leap_VALUE
all_leap = 3;
static int
gregorian_VALUE
gregorian = 1;
static int
julian_VALUE
julian = 5;
static int
noleap_VALUE
noleap = 2;
static int
none_VALUE
none = 6;
static int
proleptic_gregorian_VALUE
proleptic_gregorian = 0;
static int
uniform30day_VALUE
uniform30day = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CdmrFeatureProto.Calendar
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<CdmrFeatureProto.Calendar>
internalGetValueMap()
static CdmrFeatureProto.Calendar
valueOf(int value)
Deprecated.static CdmrFeatureProto.Calendar
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static CdmrFeatureProto.Calendar
valueOf(String name)
Returns the enum constant of this type with the specified name.static CdmrFeatureProto.Calendar[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
proleptic_gregorian
public static final CdmrFeatureProto.Calendar proleptic_gregorian
proleptic_gregorian = 0;
-
gregorian
public static final CdmrFeatureProto.Calendar gregorian
gregorian = 1;
-
noleap
public static final CdmrFeatureProto.Calendar noleap
noleap = 2;
-
all_leap
public static final CdmrFeatureProto.Calendar all_leap
all_leap = 3;
-
uniform30day
public static final CdmrFeatureProto.Calendar uniform30day
uniform30day = 4;
-
julian
public static final CdmrFeatureProto.Calendar julian
julian = 5;
-
none
public static final CdmrFeatureProto.Calendar none
none = 6;
-
UNRECOGNIZED
public static final CdmrFeatureProto.Calendar UNRECOGNIZED
-
-
Field Detail
-
proleptic_gregorian_VALUE
public static final int proleptic_gregorian_VALUE
proleptic_gregorian = 0;
- See Also:
- Constant Field Values
-
gregorian_VALUE
public static final int gregorian_VALUE
gregorian = 1;
- See Also:
- Constant Field Values
-
noleap_VALUE
public static final int noleap_VALUE
noleap = 2;
- See Also:
- Constant Field Values
-
all_leap_VALUE
public static final int all_leap_VALUE
all_leap = 3;
- See Also:
- Constant Field Values
-
uniform30day_VALUE
public static final int uniform30day_VALUE
uniform30day = 4;
- See Also:
- Constant Field Values
-
julian_VALUE
public static final int julian_VALUE
julian = 5;
- See Also:
- Constant Field Values
-
none_VALUE
public static final int none_VALUE
none = 6;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CdmrFeatureProto.Calendar[] 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 (CdmrFeatureProto.Calendar c : CdmrFeatureProto.Calendar.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CdmrFeatureProto.Calendar valueOf(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:
IllegalArgumentException
- if this enum type 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
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static CdmrFeatureProto.Calendar 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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static CdmrFeatureProto.Calendar 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<CdmrFeatureProto.Calendar> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static CdmrFeatureProto.Calendar 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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-