Package ucar.nc2.grib.collection
Enum GribCollectionProto.GribAxisType
- java.lang.Object
-
- java.lang.Enum<GribCollectionProto.GribAxisType>
-
- ucar.nc2.grib.collection.GribCollectionProto.GribAxisType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<GribCollectionProto.GribAxisType>
- Enclosing class:
- GribCollectionProto
public static enum GribCollectionProto.GribAxisType extends Enum<GribCollectionProto.GribAxisType> implements com.google.protobuf.ProtocolMessageEnum
same as ucar.coord.Coordinate.Type
Protobuf enumGribAxisType
-
-
Field Summary
Fields Modifier and Type Field Description static int
ens_VALUE
ens = 5;
static int
runtime_VALUE
runtime = 0;
static int
time_VALUE
time = 1;
static int
time2D_VALUE
time2D = 4;
static int
timeIntv_VALUE
timeIntv = 2;
static int
vert_VALUE
vert = 3;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GribCollectionProto.GribAxisType
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<GribCollectionProto.GribAxisType>
internalGetValueMap()
static GribCollectionProto.GribAxisType
valueOf(int value)
Deprecated.static GribCollectionProto.GribAxisType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static GribCollectionProto.GribAxisType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GribCollectionProto.GribAxisType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
runtime
public static final GribCollectionProto.GribAxisType runtime
runtime = 0;
-
time
public static final GribCollectionProto.GribAxisType time
time = 1;
-
timeIntv
public static final GribCollectionProto.GribAxisType timeIntv
timeIntv = 2;
-
vert
public static final GribCollectionProto.GribAxisType vert
vert = 3;
-
time2D
public static final GribCollectionProto.GribAxisType time2D
time2D = 4;
-
ens
public static final GribCollectionProto.GribAxisType ens
ens = 5;
-
UNRECOGNIZED
public static final GribCollectionProto.GribAxisType UNRECOGNIZED
-
-
Field Detail
-
runtime_VALUE
public static final int runtime_VALUE
runtime = 0;
- See Also:
- Constant Field Values
-
time_VALUE
public static final int time_VALUE
time = 1;
- See Also:
- Constant Field Values
-
timeIntv_VALUE
public static final int timeIntv_VALUE
timeIntv = 2;
- See Also:
- Constant Field Values
-
vert_VALUE
public static final int vert_VALUE
vert = 3;
- See Also:
- Constant Field Values
-
time2D_VALUE
public static final int time2D_VALUE
time2D = 4;
- See Also:
- Constant Field Values
-
ens_VALUE
public static final int ens_VALUE
ens = 5;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GribCollectionProto.GribAxisType[] 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 (GribCollectionProto.GribAxisType c : GribCollectionProto.GribAxisType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GribCollectionProto.GribAxisType 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 GribCollectionProto.GribAxisType 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 GribCollectionProto.GribAxisType 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<GribCollectionProto.GribAxisType> 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 GribCollectionProto.GribAxisType 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
-
-