Package ucar.gcdm
Enum GcdmGridProto.GridTimeType
- java.lang.Object
-
- java.lang.Enum<GcdmGridProto.GridTimeType>
-
- ucar.gcdm.GcdmGridProto.GridTimeType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GcdmGridProto.GridTimeType>
- Enclosing class:
- GcdmGridProto
public static enum GcdmGridProto.GridTimeType extends Enum<GcdmGridProto.GridTimeType> implements com.google.protobuf.ProtocolMessageEnum
currently related to GridTimeCoordinateSystem.Type
Protobuf enumucar.gcdm.GridTimeType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GRID_TIME_TYPE_OBSERVATIONGRID_TIME_TYPE_OBSERVATION = 1;GRID_TIME_TYPE_OFFSETGRID_TIME_TYPE_OFFSET = 3;GRID_TIME_TYPE_OFFSET_IRREGULARGRID_TIME_TYPE_OFFSET_IRREGULAR = 5;GRID_TIME_TYPE_OFFSET_REGULARGRID_TIME_TYPE_OFFSET_REGULAR = 4;GRID_TIME_TYPE_SINGLE_RUNTIMEGRID_TIME_TYPE_SINGLE_RUNTIME = 2;GRID_TIME_TYPE_UNSPECIFIEDGRID_TIME_TYPE_UNSPECIFIED = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intGRID_TIME_TYPE_OBSERVATION_VALUEGRID_TIME_TYPE_OBSERVATION = 1;static intGRID_TIME_TYPE_OFFSET_IRREGULAR_VALUEGRID_TIME_TYPE_OFFSET_IRREGULAR = 5;static intGRID_TIME_TYPE_OFFSET_REGULAR_VALUEGRID_TIME_TYPE_OFFSET_REGULAR = 4;static intGRID_TIME_TYPE_OFFSET_VALUEGRID_TIME_TYPE_OFFSET = 3;static intGRID_TIME_TYPE_SINGLE_RUNTIME_VALUEGRID_TIME_TYPE_SINGLE_RUNTIME = 2;static intGRID_TIME_TYPE_UNSPECIFIED_VALUEGRID_TIME_TYPE_UNSPECIFIED = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GcdmGridProto.GridTimeTypeforNumber(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<GcdmGridProto.GridTimeType>internalGetValueMap()static GcdmGridProto.GridTimeTypevalueOf(int value)Deprecated.static GcdmGridProto.GridTimeTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static GcdmGridProto.GridTimeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GcdmGridProto.GridTimeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GRID_TIME_TYPE_UNSPECIFIED
public static final GcdmGridProto.GridTimeType GRID_TIME_TYPE_UNSPECIFIED
GRID_TIME_TYPE_UNSPECIFIED = 0;
-
GRID_TIME_TYPE_OBSERVATION
public static final GcdmGridProto.GridTimeType GRID_TIME_TYPE_OBSERVATION
GRID_TIME_TYPE_OBSERVATION = 1;
-
GRID_TIME_TYPE_SINGLE_RUNTIME
public static final GcdmGridProto.GridTimeType GRID_TIME_TYPE_SINGLE_RUNTIME
GRID_TIME_TYPE_SINGLE_RUNTIME = 2;
-
GRID_TIME_TYPE_OFFSET
public static final GcdmGridProto.GridTimeType GRID_TIME_TYPE_OFFSET
GRID_TIME_TYPE_OFFSET = 3;
-
GRID_TIME_TYPE_OFFSET_REGULAR
public static final GcdmGridProto.GridTimeType GRID_TIME_TYPE_OFFSET_REGULAR
GRID_TIME_TYPE_OFFSET_REGULAR = 4;
-
GRID_TIME_TYPE_OFFSET_IRREGULAR
public static final GcdmGridProto.GridTimeType GRID_TIME_TYPE_OFFSET_IRREGULAR
GRID_TIME_TYPE_OFFSET_IRREGULAR = 5;
-
UNRECOGNIZED
public static final GcdmGridProto.GridTimeType UNRECOGNIZED
-
-
Field Detail
-
GRID_TIME_TYPE_UNSPECIFIED_VALUE
public static final int GRID_TIME_TYPE_UNSPECIFIED_VALUE
GRID_TIME_TYPE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
GRID_TIME_TYPE_OBSERVATION_VALUE
public static final int GRID_TIME_TYPE_OBSERVATION_VALUE
GRID_TIME_TYPE_OBSERVATION = 1;- See Also:
- Constant Field Values
-
GRID_TIME_TYPE_SINGLE_RUNTIME_VALUE
public static final int GRID_TIME_TYPE_SINGLE_RUNTIME_VALUE
GRID_TIME_TYPE_SINGLE_RUNTIME = 2;- See Also:
- Constant Field Values
-
GRID_TIME_TYPE_OFFSET_VALUE
public static final int GRID_TIME_TYPE_OFFSET_VALUE
GRID_TIME_TYPE_OFFSET = 3;- See Also:
- Constant Field Values
-
GRID_TIME_TYPE_OFFSET_REGULAR_VALUE
public static final int GRID_TIME_TYPE_OFFSET_REGULAR_VALUE
GRID_TIME_TYPE_OFFSET_REGULAR = 4;- See Also:
- Constant Field Values
-
GRID_TIME_TYPE_OFFSET_IRREGULAR_VALUE
public static final int GRID_TIME_TYPE_OFFSET_IRREGULAR_VALUE
GRID_TIME_TYPE_OFFSET_IRREGULAR = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GcdmGridProto.GridTimeType[] 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 (GcdmGridProto.GridTimeType c : GcdmGridProto.GridTimeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GcdmGridProto.GridTimeType 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static GcdmGridProto.GridTimeType 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 GcdmGridProto.GridTimeType 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<GcdmGridProto.GridTimeType> 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 GcdmGridProto.GridTimeType 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
-
-