Package ucar.nc2.grib.grib2
Interface Grib2IndexProto.Grib2RecordOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Grib2IndexProto.Grib2Record,Grib2IndexProto.Grib2Record.Builder
- Enclosing class:
- Grib2IndexProto
public static interface Grib2IndexProto.Grib2RecordOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBmsIndicator()required uint32 bmsIndicator = 12;longgetBmsPos()bms sectionbooleangetBmsReplaced()optional bool bmsReplaced = 16 [default = false];intgetDataLen()required uint32 dataLen = 14;longgetDataPos()data sectionintgetDiscipline()required uint32 discipline = 3;intgetDrsNpoints()required uint32 drsNpoints = 10;longgetDrsPos()drs sectionintgetDrsTemplate()required uint32 drsTemplate = 9;intgetGdsIdx()index into gdsListlonggetGribMessageLength()required uint64 gribMessageLength = 2;longgetGribMessageStart()indicator sectioncom.google.protobuf.ByteStringgetHeader()required bytes header = 1;Grib2IndexProto.GribIdSectiongetIds()id sectionGrib2IndexProto.GribIdSectionOrBuildergetIdsOrBuilder()id sectioncom.google.protobuf.ByteStringgetLus()other sectionscom.google.protobuf.ByteStringgetPds()required bytes pds = 7;intgetScanMode()scanMode from gds added in version 4.5booleanhasBmsIndicator()required uint32 bmsIndicator = 12;booleanhasBmsPos()bms sectionbooleanhasBmsReplaced()optional bool bmsReplaced = 16 [default = false];booleanhasDataLen()required uint32 dataLen = 14;booleanhasDataPos()data sectionbooleanhasDiscipline()required uint32 discipline = 3;booleanhasDrsNpoints()required uint32 drsNpoints = 10;booleanhasDrsPos()drs sectionbooleanhasDrsTemplate()required uint32 drsTemplate = 9;booleanhasGdsIdx()index into gdsListbooleanhasGribMessageLength()required uint64 gribMessageLength = 2;booleanhasGribMessageStart()indicator sectionbooleanhasHeader()required bytes header = 1;booleanhasIds()id sectionbooleanhasLus()other sectionsbooleanhasPds()required bytes pds = 7;booleanhasScanMode()scanMode from gds added in version 4.5-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasHeader
boolean hasHeader()
required bytes header = 1;- Returns:
- Whether the header field is set.
-
getHeader
com.google.protobuf.ByteString getHeader()
required bytes header = 1;- Returns:
- The header.
-
hasGribMessageStart
boolean hasGribMessageStart()
indicator section
optional uint64 gribMessageStart = 15;- Returns:
- Whether the gribMessageStart field is set.
-
getGribMessageStart
long getGribMessageStart()
indicator section
optional uint64 gribMessageStart = 15;- Returns:
- The gribMessageStart.
-
hasGribMessageLength
boolean hasGribMessageLength()
required uint64 gribMessageLength = 2;- Returns:
- Whether the gribMessageLength field is set.
-
getGribMessageLength
long getGribMessageLength()
required uint64 gribMessageLength = 2;- Returns:
- The gribMessageLength.
-
hasDiscipline
boolean hasDiscipline()
required uint32 discipline = 3;- Returns:
- Whether the discipline field is set.
-
getDiscipline
int getDiscipline()
required uint32 discipline = 3;- Returns:
- The discipline.
-
hasIds
boolean hasIds()
id section
required .GribIdSection ids = 4;- Returns:
- Whether the ids field is set.
-
getIds
Grib2IndexProto.GribIdSection getIds()
id section
required .GribIdSection ids = 4;- Returns:
- The ids.
-
getIdsOrBuilder
Grib2IndexProto.GribIdSectionOrBuilder getIdsOrBuilder()
id section
required .GribIdSection ids = 4;
-
hasLus
boolean hasLus()
other sections
optional bytes lus = 5;- Returns:
- Whether the lus field is set.
-
getLus
com.google.protobuf.ByteString getLus()
other sections
optional bytes lus = 5;- Returns:
- The lus.
-
hasGdsIdx
boolean hasGdsIdx()
index into gdsList
required uint32 gdsIdx = 6;- Returns:
- Whether the gdsIdx field is set.
-
getGdsIdx
int getGdsIdx()
index into gdsList
required uint32 gdsIdx = 6;- Returns:
- The gdsIdx.
-
hasPds
boolean hasPds()
required bytes pds = 7;- Returns:
- Whether the pds field is set.
-
getPds
com.google.protobuf.ByteString getPds()
required bytes pds = 7;- Returns:
- The pds.
-
hasDrsPos
boolean hasDrsPos()
drs section
required uint64 drsPos = 8;- Returns:
- Whether the drsPos field is set.
-
getDrsPos
long getDrsPos()
drs section
required uint64 drsPos = 8;- Returns:
- The drsPos.
-
hasDrsTemplate
boolean hasDrsTemplate()
required uint32 drsTemplate = 9;- Returns:
- Whether the drsTemplate field is set.
-
getDrsTemplate
int getDrsTemplate()
required uint32 drsTemplate = 9;- Returns:
- The drsTemplate.
-
hasDrsNpoints
boolean hasDrsNpoints()
required uint32 drsNpoints = 10;- Returns:
- Whether the drsNpoints field is set.
-
getDrsNpoints
int getDrsNpoints()
required uint32 drsNpoints = 10;- Returns:
- The drsNpoints.
-
hasBmsPos
boolean hasBmsPos()
bms section
required uint64 bmsPos = 11;- Returns:
- Whether the bmsPos field is set.
-
getBmsPos
long getBmsPos()
bms section
required uint64 bmsPos = 11;- Returns:
- The bmsPos.
-
hasBmsIndicator
boolean hasBmsIndicator()
required uint32 bmsIndicator = 12;- Returns:
- Whether the bmsIndicator field is set.
-
getBmsIndicator
int getBmsIndicator()
required uint32 bmsIndicator = 12;- Returns:
- The bmsIndicator.
-
hasBmsReplaced
boolean hasBmsReplaced()
optional bool bmsReplaced = 16 [default = false];- Returns:
- Whether the bmsReplaced field is set.
-
getBmsReplaced
boolean getBmsReplaced()
optional bool bmsReplaced = 16 [default = false];- Returns:
- The bmsReplaced.
-
hasDataPos
boolean hasDataPos()
data section
required uint64 dataPos = 13;- Returns:
- Whether the dataPos field is set.
-
getDataPos
long getDataPos()
data section
required uint64 dataPos = 13;- Returns:
- The dataPos.
-
hasDataLen
boolean hasDataLen()
required uint32 dataLen = 14;- Returns:
- Whether the dataLen field is set.
-
getDataLen
int getDataLen()
required uint32 dataLen = 14;- Returns:
- The dataLen.
-
hasScanMode
boolean hasScanMode()
scanMode from gds added in version 4.5
optional uint32 scanMode = 17 [default = 9999];- Returns:
- Whether the scanMode field is set.
-
getScanMode
int getScanMode()
scanMode from gds added in version 4.5
optional uint32 scanMode = 17 [default = 9999];- Returns:
- The scanMode.
-
-