Package ucar.nc2.grib.collection
Interface GribCollectionProto.SparseArrayOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GribCollectionProto.SparseArray
,GribCollectionProto.SparseArray.Builder
- Enclosing class:
- GribCollectionProto
public static interface GribCollectionProto.SparseArrayOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getNdups()
duplicates found when creatingGribCollectionProto.Record
getRecords(int index)
List<Record>int
getRecordsCount()
List<Record>List<GribCollectionProto.Record>
getRecordsList()
List<Record>GribCollectionProto.RecordOrBuilder
getRecordsOrBuilder(int index)
List<Record>List<? extends GribCollectionProto.RecordOrBuilder>
getRecordsOrBuilderList()
List<Record>int
getSize(int index)
multidim sizes = shape[]int
getSizeCount()
multidim sizes = shape[]List<Integer>
getSizeList()
multidim sizes = shape[]int
getTrack(int index)
1-based index into record list, 0 == missingint
getTrackCount()
1-based index into record list, 0 == missingList<Integer>
getTrackList()
1-based index into record list, 0 == missing-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSizeList
List<Integer> getSizeList()
multidim sizes = shape[]
repeated uint32 size = 2 [packed = true];
- Returns:
- A list containing the size.
-
getSizeCount
int getSizeCount()
multidim sizes = shape[]
repeated uint32 size = 2 [packed = true];
- Returns:
- The count of size.
-
getSize
int getSize(int index)
multidim sizes = shape[]
repeated uint32 size = 2 [packed = true];
- Parameters:
index
- The index of the element to return.- Returns:
- The size at the given index.
-
getTrackList
List<Integer> getTrackList()
1-based index into record list, 0 == missing
repeated uint32 track = 3 [packed = true];
- Returns:
- A list containing the track.
-
getTrackCount
int getTrackCount()
1-based index into record list, 0 == missing
repeated uint32 track = 3 [packed = true];
- Returns:
- The count of track.
-
getTrack
int getTrack(int index)
1-based index into record list, 0 == missing
repeated uint32 track = 3 [packed = true];
- Parameters:
index
- The index of the element to return.- Returns:
- The track at the given index.
-
getRecordsList
List<GribCollectionProto.Record> getRecordsList()
List<Record>
repeated .Record records = 4;
-
getRecords
GribCollectionProto.Record getRecords(int index)
List<Record>
repeated .Record records = 4;
-
getRecordsCount
int getRecordsCount()
List<Record>
repeated .Record records = 4;
-
getRecordsOrBuilderList
List<? extends GribCollectionProto.RecordOrBuilder> getRecordsOrBuilderList()
List<Record>
repeated .Record records = 4;
-
getRecordsOrBuilder
GribCollectionProto.RecordOrBuilder getRecordsOrBuilder(int index)
List<Record>
repeated .Record records = 4;
-
getNdups
int getNdups()
duplicates found when creating
uint32 ndups = 5;
- Returns:
- The ndups.
-
-