Package ucar.nc2.grib.collection
Interface GribCollectionProto.VariableOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GribCollectionProto.Variable,GribCollectionProto.Variable.Builder
- Enclosing class:
- GribCollectionProto
public static interface GribCollectionProto.VariableOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCoordIdx(int index)indexes into Group.coordsintgetCoordIdxCount()indexes into Group.coordsList<Integer>getCoordIdxList()indexes into Group.coordsintgetDiscipline()uint32 discipline = 1;intgetIds(int index)extra info not in pds; grib2 id sectionintgetIdsCount()extra info not in pds; grib2 id sectionList<Integer>getIdsList()extra info not in pds; grib2 id sectionintgetMissing()uint32 missing = 10;intgetNdups()optionally keep statsintgetNrecords()uint32 nrecords = 9;GribCollectionProto.PartitionVariablegetPartVariable(int index)partition onlyintgetPartVariableCount()partition onlyList<GribCollectionProto.PartitionVariable>getPartVariableList()partition onlyGribCollectionProto.PartitionVariableOrBuildergetPartVariableOrBuilder(int index)partition onlyList<? extends GribCollectionProto.PartitionVariableOrBuilder>getPartVariableOrBuilderList()partition onlycom.google.protobuf.ByteStringgetPds()raw pdsintgetRecordsLen()size of SparseArray message for this VariablelonggetRecordsPos()offset of SparseArray message for this Variable-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDiscipline
int getDiscipline()
uint32 discipline = 1;- Returns:
- The discipline.
-
getPds
com.google.protobuf.ByteString getPds()
raw pds
bytes pds = 2;- Returns:
- The pds.
-
getIdsList
List<Integer> getIdsList()
extra info not in pds; grib2 id section
repeated uint32 ids = 3 [packed = true];- Returns:
- A list containing the ids.
-
getIdsCount
int getIdsCount()
extra info not in pds; grib2 id section
repeated uint32 ids = 3 [packed = true];- Returns:
- The count of ids.
-
getIds
int getIds(int index)
extra info not in pds; grib2 id section
repeated uint32 ids = 3 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The ids at the given index.
-
getRecordsPos
long getRecordsPos()
offset of SparseArray message for this Variable
uint64 recordsPos = 4;- Returns:
- The recordsPos.
-
getRecordsLen
int getRecordsLen()
size of SparseArray message for this Variable
uint32 recordsLen = 5;- Returns:
- The recordsLen.
-
getCoordIdxList
List<Integer> getCoordIdxList()
indexes into Group.coords
repeated uint32 coordIdx = 6 [packed = true];- Returns:
- A list containing the coordIdx.
-
getCoordIdxCount
int getCoordIdxCount()
indexes into Group.coords
repeated uint32 coordIdx = 6 [packed = true];- Returns:
- The count of coordIdx.
-
getCoordIdx
int getCoordIdx(int index)
indexes into Group.coords
repeated uint32 coordIdx = 6 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The coordIdx at the given index.
-
getNdups
int getNdups()
optionally keep stats
uint32 ndups = 8;- Returns:
- The ndups.
-
getNrecords
int getNrecords()
uint32 nrecords = 9;- Returns:
- The nrecords.
-
getMissing
int getMissing()
uint32 missing = 10;- Returns:
- The missing.
-
getPartVariableList
List<GribCollectionProto.PartitionVariable> getPartVariableList()
partition only
repeated .PartitionVariable partVariable = 100;
-
getPartVariable
GribCollectionProto.PartitionVariable getPartVariable(int index)
partition only
repeated .PartitionVariable partVariable = 100;
-
getPartVariableCount
int getPartVariableCount()
partition only
repeated .PartitionVariable partVariable = 100;
-
getPartVariableOrBuilderList
List<? extends GribCollectionProto.PartitionVariableOrBuilder> getPartVariableOrBuilderList()
partition only
repeated .PartitionVariable partVariable = 100;
-
getPartVariableOrBuilder
GribCollectionProto.PartitionVariableOrBuilder getPartVariableOrBuilder(int index)
partition only
repeated .PartitionVariable partVariable = 100;
-
-