Package ucar.nc2.grib.collection
Enum GribCollectionProto.Dataset.Type
- java.lang.Object
-
- java.lang.Enum<GribCollectionProto.Dataset.Type>
-
- ucar.nc2.grib.collection.GribCollectionProto.Dataset.Type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<GribCollectionProto.Dataset.Type>
- Enclosing class:
- GribCollectionProto.Dataset
public static enum GribCollectionProto.Dataset.Type extends Enum<GribCollectionProto.Dataset.Type> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumDataset.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Best
time partition BestGC
leaf collectionMRC
multiple runtime collectionMRSTC
multiple runtime single time collectionMRSTP
multiple runtime single time partitionMRUTC
Multiple Runtime Unique Time CollectionMRUTP
Multiple Runtime Unique Time PartitionSRC
single runtime collectionTwoD
time partition 2DUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
Best_VALUE
time partition Beststatic int
GC_VALUE
leaf collectionstatic int
MRC_VALUE
multiple runtime collectionstatic int
MRSTC_VALUE
multiple runtime single time collectionstatic int
MRSTP_VALUE
multiple runtime single time partitionstatic int
MRUTC_VALUE
Multiple Runtime Unique Time Collectionstatic int
MRUTP_VALUE
Multiple Runtime Unique Time Partitionstatic int
SRC_VALUE
single runtime collectionstatic int
TwoD_VALUE
time partition 2D
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GribCollectionProto.Dataset.Type
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.Dataset.Type>
internalGetValueMap()
static GribCollectionProto.Dataset.Type
valueOf(int value)
Deprecated.static GribCollectionProto.Dataset.Type
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static GribCollectionProto.Dataset.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static GribCollectionProto.Dataset.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GC
public static final GribCollectionProto.Dataset.Type GC
leaf collection
GC = 0;
-
SRC
public static final GribCollectionProto.Dataset.Type SRC
single runtime collection
SRC = 4;
-
MRC
public static final GribCollectionProto.Dataset.Type MRC
multiple runtime collection
MRC = 5;
-
MRSTC
public static final GribCollectionProto.Dataset.Type MRSTC
multiple runtime single time collection
MRSTC = 6;
-
MRUTC
public static final GribCollectionProto.Dataset.Type MRUTC
Multiple Runtime Unique Time Collection
MRUTC = 8;
-
MRSTP
public static final GribCollectionProto.Dataset.Type MRSTP
multiple runtime single time partition
MRSTP = 7;
-
TwoD
public static final GribCollectionProto.Dataset.Type TwoD
time partition 2D
TwoD = 1;
-
Best
public static final GribCollectionProto.Dataset.Type Best
time partition Best
Best = 2;
-
MRUTP
public static final GribCollectionProto.Dataset.Type MRUTP
Multiple Runtime Unique Time Partition
MRUTP = 9;
-
UNRECOGNIZED
public static final GribCollectionProto.Dataset.Type UNRECOGNIZED
-
-
Field Detail
-
GC_VALUE
public static final int GC_VALUE
leaf collection
GC = 0;
- See Also:
- Constant Field Values
-
SRC_VALUE
public static final int SRC_VALUE
single runtime collection
SRC = 4;
- See Also:
- Constant Field Values
-
MRC_VALUE
public static final int MRC_VALUE
multiple runtime collection
MRC = 5;
- See Also:
- Constant Field Values
-
MRSTC_VALUE
public static final int MRSTC_VALUE
multiple runtime single time collection
MRSTC = 6;
- See Also:
- Constant Field Values
-
MRUTC_VALUE
public static final int MRUTC_VALUE
Multiple Runtime Unique Time Collection
MRUTC = 8;
- See Also:
- Constant Field Values
-
MRSTP_VALUE
public static final int MRSTP_VALUE
multiple runtime single time partition
MRSTP = 7;
- See Also:
- Constant Field Values
-
TwoD_VALUE
public static final int TwoD_VALUE
time partition 2D
TwoD = 1;
- See Also:
- Constant Field Values
-
Best_VALUE
public static final int Best_VALUE
time partition Best
Best = 2;
- See Also:
- Constant Field Values
-
MRUTP_VALUE
public static final int MRUTP_VALUE
Multiple Runtime Unique Time Partition
MRUTP = 9;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GribCollectionProto.Dataset.Type[] 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.Dataset.Type c : GribCollectionProto.Dataset.Type.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.Dataset.Type 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.Dataset.Type 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.Dataset.Type 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.Dataset.Type> 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.Dataset.Type 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
-
-