Package ucar.nc2.grib.collection
Interface GribCollectionProto.CoordOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GribCollectionProto.Coord,GribCollectionProto.Coord.Builder
- Enclosing class:
- GribCollectionProto
public static interface GribCollectionProto.CoordOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GribCollectionProto.GribAxisTypegetAxisType().GribAxisType axisType = 1;intgetAxisTypeValue().GribAxisType axisType = 1;floatgetBound(int index)only used if interval, then = (value, bound)intgetBoundCount()only used if interval, then = (value, bound)List<Float>getBoundList()only used if interval, then = (value, bound)intgetCode()time unit; level typebooleangetIsOrthogonal()time2D onlybooleangetIsRegular()time2D onlylonggetMsecs(int index)calendar date : runtime, time2DintgetMsecsCount()calendar date : runtime, time2DList<Long>getMsecsList()calendar date : runtime, time2DintgetTime2Runtime(int index)time index to runtime index, Best Time onlyintgetTime2RuntimeCount()time index to runtime index, Best Time onlyList<Integer>getTime2RuntimeList()time index to runtime index, Best Time onlyGribCollectionProto.CoordgetTimes(int index)time2D onlyintgetTimesCount()time2D onlyList<GribCollectionProto.Coord>getTimesList()time2D onlyGribCollectionProto.CoordOrBuildergetTimesOrBuilder(int index)time2D onlyList<? extends GribCollectionProto.CoordOrBuilder>getTimesOrBuilderList()time2D onlyStringgetUnit()string unit = 3;com.google.protobuf.ByteStringgetUnitBytes()string unit = 3;floatgetValues(int index)repeated float values = 4 [packed = true];intgetValuesCount()repeated float values = 4 [packed = true];List<Float>getValuesList()repeated float values = 4 [packed = true];-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAxisTypeValue
int getAxisTypeValue()
.GribAxisType axisType = 1;- Returns:
- The enum numeric value on the wire for axisType.
-
getAxisType
GribCollectionProto.GribAxisType getAxisType()
.GribAxisType axisType = 1;- Returns:
- The axisType.
-
getCode
int getCode()
time unit; level type
int32 code = 2;- Returns:
- The code.
-
getUnit
String getUnit()
string unit = 3;- Returns:
- The unit.
-
getUnitBytes
com.google.protobuf.ByteString getUnitBytes()
string unit = 3;- Returns:
- The bytes for unit.
-
getValuesList
List<Float> getValuesList()
repeated float values = 4 [packed = true];- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()
repeated float values = 4 [packed = true];- Returns:
- The count of values.
-
getValues
float getValues(int index)
repeated float values = 4 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
getBoundList
List<Float> getBoundList()
only used if interval, then = (value, bound)
repeated float bound = 5 [packed = true];- Returns:
- A list containing the bound.
-
getBoundCount
int getBoundCount()
only used if interval, then = (value, bound)
repeated float bound = 5 [packed = true];- Returns:
- The count of bound.
-
getBound
float getBound(int index)
only used if interval, then = (value, bound)
repeated float bound = 5 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The bound at the given index.
-
getMsecsList
List<Long> getMsecsList()
calendar date : runtime, time2D
repeated int64 msecs = 6 [packed = true];- Returns:
- A list containing the msecs.
-
getMsecsCount
int getMsecsCount()
calendar date : runtime, time2D
repeated int64 msecs = 6 [packed = true];- Returns:
- The count of msecs.
-
getMsecs
long getMsecs(int index)
calendar date : runtime, time2D
repeated int64 msecs = 6 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The msecs at the given index.
-
getTimesList
List<GribCollectionProto.Coord> getTimesList()
time2D only
repeated .Coord times = 7;
-
getTimes
GribCollectionProto.Coord getTimes(int index)
time2D only
repeated .Coord times = 7;
-
getTimesCount
int getTimesCount()
time2D only
repeated .Coord times = 7;
-
getTimesOrBuilderList
List<? extends GribCollectionProto.CoordOrBuilder> getTimesOrBuilderList()
time2D only
repeated .Coord times = 7;
-
getTimesOrBuilder
GribCollectionProto.CoordOrBuilder getTimesOrBuilder(int index)
time2D only
repeated .Coord times = 7;
-
getIsOrthogonal
boolean getIsOrthogonal()
time2D only
bool isOrthogonal = 8;- Returns:
- The isOrthogonal.
-
getIsRegular
boolean getIsRegular()
time2D only
bool isRegular = 9;- Returns:
- The isRegular.
-
getTime2RuntimeList
List<Integer> getTime2RuntimeList()
time index to runtime index, Best Time only
repeated uint32 time2runtime = 10 [packed = true];- Returns:
- A list containing the time2runtime.
-
getTime2RuntimeCount
int getTime2RuntimeCount()
time index to runtime index, Best Time only
repeated uint32 time2runtime = 10 [packed = true];- Returns:
- The count of time2runtime.
-
getTime2Runtime
int getTime2Runtime(int index)
time index to runtime index, Best Time only
repeated uint32 time2runtime = 10 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The time2runtime at the given index.
-
-