Package ucar.nc2.grib.collection
Interface GribCollectionProto.GribCollectionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GribCollectionProto.GribCollection,GribCollectionProto.GribCollection.Builder
- Enclosing class:
- GribCollectionProto
public static interface GribCollectionProto.GribCollectionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBackProcessId()int32 backProcessId = 13;intgetCenter()LOOK these are taken from first record; not storing variants (!)GribCollectionProto.FcConfiggetConfig()repeated Parameter params = 20; // not usedGribCollectionProto.FcConfigOrBuildergetConfigOrBuilder()repeated Parameter params = 20; // not usedGribCollectionProto.DatasetgetDataset(int index)repeated .Dataset dataset = 4;intgetDatasetCount()repeated .Dataset dataset = 4;List<GribCollectionProto.Dataset>getDatasetList()repeated .Dataset dataset = 4;GribCollectionProto.DatasetOrBuildergetDatasetOrBuilder(int index)repeated .Dataset dataset = 4;List<? extends GribCollectionProto.DatasetOrBuilder>getDatasetOrBuilderList()repeated .Dataset dataset = 4;longgetEndTime()calendar date, last valid timeGribCollectionProto.GdsgetGds(int index)unique Gds, shared amongst datasetsintgetGdsCount()unique Gds, shared amongst datasetsList<GribCollectionProto.Gds>getGdsList()unique Gds, shared amongst datasetsGribCollectionProto.GdsOrBuildergetGdsOrBuilder(int index)unique Gds, shared amongst datasetsList<? extends GribCollectionProto.GdsOrBuilder>getGdsOrBuilderList()unique Gds, shared amongst datasetsintgetGenProcessId()int32 genProcessId = 12;intgetGenProcessType()int32 genProcessType = 11;booleangetIsPartitionOfPartitions()bool isPartitionOfPartitions = 101;intgetLocal()grib1 table VersionintgetMaster()int32 master = 9;GribCollectionProto.CoordgetMasterRuntime()list of runtimes in this GCGribCollectionProto.CoordOrBuildergetMasterRuntimeOrBuilder()list of runtimes in this GCGribCollectionProto.MFilegetMfiles(int index)list of grib MFilesintgetMfilesCount()list of grib MFilesList<GribCollectionProto.MFile>getMfilesList()list of grib MFilesGribCollectionProto.MFileOrBuildergetMfilesOrBuilder(int index)list of grib MFilesList<? extends GribCollectionProto.MFileOrBuilder>getMfilesOrBuilderList()list of grib MFilesStringgetName()must be unique - index filename is name.ncxcom.google.protobuf.ByteStringgetNameBytes()must be unique - index filename is name.ncxGribCollectionProto.PartitiongetPartitions(int index)extensionsintgetPartitionsCount()extensionsList<GribCollectionProto.Partition>getPartitionsList()extensionsGribCollectionProto.PartitionOrBuildergetPartitionsOrBuilder(int index)extensionsList<? extends GribCollectionProto.PartitionOrBuilder>getPartitionsOrBuilderList()extensionsintgetRun2Part(int index)masterRuntime index to partition indexintgetRun2PartCount()masterRuntime index to partition indexList<Integer>getRun2PartList()masterRuntime index to partition indexlonggetStartTime()calendar date, first valid timeintgetSubcenter()int32 subcenter = 8;StringgetTopDir()MFile, Partition filenames are relative to thiscom.google.protobuf.ByteStringgetTopDirBytes()MFile, Partition filenames are relative to thisintgetVersion()>= 3 for proto3 (5.0+)booleanhasConfig()repeated Parameter params = 20; // not usedbooleanhasMasterRuntime()list of runtimes in this GC-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
must be unique - index filename is name.ncx
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
must be unique - index filename is name.ncx
string name = 1;- Returns:
- The bytes for name.
-
getTopDir
String getTopDir()
MFile, Partition filenames are relative to this
string topDir = 2;- Returns:
- The topDir.
-
getTopDirBytes
com.google.protobuf.ByteString getTopDirBytes()
MFile, Partition filenames are relative to this
string topDir = 2;- Returns:
- The bytes for topDir.
-
getMfilesList
List<GribCollectionProto.MFile> getMfilesList()
list of grib MFiles
repeated .MFile mfiles = 3;
-
getMfiles
GribCollectionProto.MFile getMfiles(int index)
list of grib MFiles
repeated .MFile mfiles = 3;
-
getMfilesCount
int getMfilesCount()
list of grib MFiles
repeated .MFile mfiles = 3;
-
getMfilesOrBuilderList
List<? extends GribCollectionProto.MFileOrBuilder> getMfilesOrBuilderList()
list of grib MFiles
repeated .MFile mfiles = 3;
-
getMfilesOrBuilder
GribCollectionProto.MFileOrBuilder getMfilesOrBuilder(int index)
list of grib MFiles
repeated .MFile mfiles = 3;
-
getDatasetList
List<GribCollectionProto.Dataset> getDatasetList()
repeated .Dataset dataset = 4;
-
getDataset
GribCollectionProto.Dataset getDataset(int index)
repeated .Dataset dataset = 4;
-
getDatasetCount
int getDatasetCount()
repeated .Dataset dataset = 4;
-
getDatasetOrBuilderList
List<? extends GribCollectionProto.DatasetOrBuilder> getDatasetOrBuilderList()
repeated .Dataset dataset = 4;
-
getDatasetOrBuilder
GribCollectionProto.DatasetOrBuilder getDatasetOrBuilder(int index)
repeated .Dataset dataset = 4;
-
getGdsList
List<GribCollectionProto.Gds> getGdsList()
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
getGds
GribCollectionProto.Gds getGds(int index)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
getGdsCount
int getGdsCount()
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
getGdsOrBuilderList
List<? extends GribCollectionProto.GdsOrBuilder> getGdsOrBuilderList()
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
getGdsOrBuilder
GribCollectionProto.GdsOrBuilder getGdsOrBuilder(int index)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
hasMasterRuntime
boolean hasMasterRuntime()
list of runtimes in this GC
.Coord masterRuntime = 6;- Returns:
- Whether the masterRuntime field is set.
-
getMasterRuntime
GribCollectionProto.Coord getMasterRuntime()
list of runtimes in this GC
.Coord masterRuntime = 6;- Returns:
- The masterRuntime.
-
getMasterRuntimeOrBuilder
GribCollectionProto.CoordOrBuilder getMasterRuntimeOrBuilder()
list of runtimes in this GC
.Coord masterRuntime = 6;
-
getCenter
int getCenter()
LOOK these are taken from first record; not storing variants (!)
int32 center = 7;- Returns:
- The center.
-
getSubcenter
int getSubcenter()
int32 subcenter = 8;- Returns:
- The subcenter.
-
getMaster
int getMaster()
int32 master = 9;- Returns:
- The master.
-
getLocal
int getLocal()
grib1 table Version
int32 local = 10;- Returns:
- The local.
-
getGenProcessType
int getGenProcessType()
int32 genProcessType = 11;- Returns:
- The genProcessType.
-
getGenProcessId
int getGenProcessId()
int32 genProcessId = 12;- Returns:
- The genProcessId.
-
getBackProcessId
int getBackProcessId()
int32 backProcessId = 13;- Returns:
- The backProcessId.
-
getVersion
int getVersion()
>= 3 for proto3 (5.0+)
int32 version = 14;- Returns:
- The version.
-
hasConfig
boolean hasConfig()
repeated Parameter params = 20; // not used
.FcConfig config = 21;- Returns:
- Whether the config field is set.
-
getConfig
GribCollectionProto.FcConfig getConfig()
repeated Parameter params = 20; // not used
.FcConfig config = 21;- Returns:
- The config.
-
getConfigOrBuilder
GribCollectionProto.FcConfigOrBuilder getConfigOrBuilder()
repeated Parameter params = 20; // not used
.FcConfig config = 21;
-
getStartTime
long getStartTime()
calendar date, first valid time
uint64 startTime = 22;- Returns:
- The startTime.
-
getEndTime
long getEndTime()
calendar date, last valid time
uint64 endTime = 23;- Returns:
- The endTime.
-
getPartitionsList
List<GribCollectionProto.Partition> getPartitionsList()
extensions
repeated .Partition partitions = 100;
-
getPartitions
GribCollectionProto.Partition getPartitions(int index)
extensions
repeated .Partition partitions = 100;
-
getPartitionsCount
int getPartitionsCount()
extensions
repeated .Partition partitions = 100;
-
getPartitionsOrBuilderList
List<? extends GribCollectionProto.PartitionOrBuilder> getPartitionsOrBuilderList()
extensions
repeated .Partition partitions = 100;
-
getPartitionsOrBuilder
GribCollectionProto.PartitionOrBuilder getPartitionsOrBuilder(int index)
extensions
repeated .Partition partitions = 100;
-
getIsPartitionOfPartitions
boolean getIsPartitionOfPartitions()
bool isPartitionOfPartitions = 101;- Returns:
- The isPartitionOfPartitions.
-
getRun2PartList
List<Integer> getRun2PartList()
masterRuntime index to partition index
repeated uint32 run2part = 102 [packed = true];- Returns:
- A list containing the run2part.
-
getRun2PartCount
int getRun2PartCount()
masterRuntime index to partition index
repeated uint32 run2part = 102 [packed = true];- Returns:
- The count of run2part.
-
getRun2Part
int getRun2Part(int index)
masterRuntime index to partition index
repeated uint32 run2part = 102 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The run2part at the given index.
-
-