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 int
getBackProcessId()
int32 backProcessId = 13;
int
getCenter()
LOOK these are taken from first record; not storing variants (!)GribCollectionProto.FcConfig
getConfig()
repeated Parameter params = 20; // not usedGribCollectionProto.FcConfigOrBuilder
getConfigOrBuilder()
repeated Parameter params = 20; // not usedGribCollectionProto.Dataset
getDataset(int index)
repeated .Dataset dataset = 4;
int
getDatasetCount()
repeated .Dataset dataset = 4;
List<GribCollectionProto.Dataset>
getDatasetList()
repeated .Dataset dataset = 4;
GribCollectionProto.DatasetOrBuilder
getDatasetOrBuilder(int index)
repeated .Dataset dataset = 4;
List<? extends GribCollectionProto.DatasetOrBuilder>
getDatasetOrBuilderList()
repeated .Dataset dataset = 4;
long
getEndTime()
calendar date, last valid timeGribCollectionProto.Gds
getGds(int index)
unique Gds, shared amongst datasetsint
getGdsCount()
unique Gds, shared amongst datasetsList<GribCollectionProto.Gds>
getGdsList()
unique Gds, shared amongst datasetsGribCollectionProto.GdsOrBuilder
getGdsOrBuilder(int index)
unique Gds, shared amongst datasetsList<? extends GribCollectionProto.GdsOrBuilder>
getGdsOrBuilderList()
unique Gds, shared amongst datasetsint
getGenProcessId()
int32 genProcessId = 12;
int
getGenProcessType()
int32 genProcessType = 11;
boolean
getIsPartitionOfPartitions()
bool isPartitionOfPartitions = 101;
int
getLocal()
grib1 table Versionint
getMaster()
int32 master = 9;
GribCollectionProto.Coord
getMasterRuntime()
list of runtimes in this GCGribCollectionProto.CoordOrBuilder
getMasterRuntimeOrBuilder()
list of runtimes in this GCGribCollectionProto.MFile
getMfiles(int index)
list of grib MFilesint
getMfilesCount()
list of grib MFilesList<GribCollectionProto.MFile>
getMfilesList()
list of grib MFilesGribCollectionProto.MFileOrBuilder
getMfilesOrBuilder(int index)
list of grib MFilesList<? extends GribCollectionProto.MFileOrBuilder>
getMfilesOrBuilderList()
list of grib MFilesString
getName()
must be unique - index filename is name.ncxcom.google.protobuf.ByteString
getNameBytes()
must be unique - index filename is name.ncxGribCollectionProto.Partition
getPartitions(int index)
extensionsint
getPartitionsCount()
extensionsList<GribCollectionProto.Partition>
getPartitionsList()
extensionsGribCollectionProto.PartitionOrBuilder
getPartitionsOrBuilder(int index)
extensionsList<? extends GribCollectionProto.PartitionOrBuilder>
getPartitionsOrBuilderList()
extensionsint
getRun2Part(int index)
masterRuntime index to partition indexint
getRun2PartCount()
masterRuntime index to partition indexList<Integer>
getRun2PartList()
masterRuntime index to partition indexlong
getStartTime()
calendar date, first valid timeint
getSubcenter()
int32 subcenter = 8;
String
getTopDir()
MFile, Partition filenames are relative to thiscom.google.protobuf.ByteString
getTopDirBytes()
MFile, Partition filenames are relative to thisint
getVersion()
>= 3 for proto3 (5.0+)boolean
hasConfig()
repeated Parameter params = 20; // not usedboolean
hasMasterRuntime()
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.
-
-