Package ucar.nc2.grib.collection
Class GribCollectionProto.Variable
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- ucar.nc2.grib.collection.GribCollectionProto.Variable
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,GribCollectionProto.VariableOrBuilder
- Enclosing class:
- GribCollectionProto
public static final class GribCollectionProto.Variable extends com.google.protobuf.GeneratedMessageV3 implements GribCollectionProto.VariableOrBuilder
Protobuf typeVariable- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGribCollectionProto.Variable.BuilderProtobuf typeVariable-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOORDIDX_FIELD_NUMBERstatic intDISCIPLINE_FIELD_NUMBERstatic intIDS_FIELD_NUMBERstatic intMISSING_FIELD_NUMBERstatic intNDUPS_FIELD_NUMBERstatic intNRECORDS_FIELD_NUMBERstatic intPARTVARIABLE_FIELD_NUMBERstatic intPDS_FIELD_NUMBERstatic intRECORDSLEN_FIELD_NUMBERstatic intRECORDSPOS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetCoordIdx(int index)indexes into Group.coordsintgetCoordIdxCount()indexes into Group.coordsList<Integer>getCoordIdxList()indexes into Group.coordsstatic GribCollectionProto.VariablegetDefaultInstance()GribCollectionProto.VariablegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetDiscipline()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;com.google.protobuf.Parser<GribCollectionProto.Variable>getParserForType()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 VariableintgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GribCollectionProto.Variable.BuildernewBuilder()static GribCollectionProto.Variable.BuildernewBuilder(GribCollectionProto.Variable prototype)GribCollectionProto.Variable.BuildernewBuilderForType()protected GribCollectionProto.Variable.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GribCollectionProto.VariableparseDelimitedFrom(InputStream input)static GribCollectionProto.VariableparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GribCollectionProto.VariableparseFrom(byte[] data)static GribCollectionProto.VariableparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GribCollectionProto.VariableparseFrom(com.google.protobuf.ByteString data)static GribCollectionProto.VariableparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GribCollectionProto.VariableparseFrom(com.google.protobuf.CodedInputStream input)static GribCollectionProto.VariableparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GribCollectionProto.VariableparseFrom(InputStream input)static GribCollectionProto.VariableparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GribCollectionProto.VariableparseFrom(ByteBuffer data)static GribCollectionProto.VariableparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GribCollectionProto.Variable>parser()GribCollectionProto.Variable.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DISCIPLINE_FIELD_NUMBER
public static final int DISCIPLINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PDS_FIELD_NUMBER
public static final int PDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IDS_FIELD_NUMBER
public static final int IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECORDSPOS_FIELD_NUMBER
public static final int RECORDSPOS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECORDSLEN_FIELD_NUMBER
public static final int RECORDSLEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COORDIDX_FIELD_NUMBER
public static final int COORDIDX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NDUPS_FIELD_NUMBER
public static final int NDUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NRECORDS_FIELD_NUMBER
public static final int NRECORDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MISSING_FIELD_NUMBER
public static final int MISSING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTVARIABLE_FIELD_NUMBER
public static final int PARTVARIABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDiscipline
public int getDiscipline()
uint32 discipline = 1;- Specified by:
getDisciplinein interfaceGribCollectionProto.VariableOrBuilder- Returns:
- The discipline.
-
getPds
public com.google.protobuf.ByteString getPds()
raw pds
bytes pds = 2;- Specified by:
getPdsin interfaceGribCollectionProto.VariableOrBuilder- Returns:
- The pds.
-
getIdsList
public List<Integer> getIdsList()
extra info not in pds; grib2 id section
repeated uint32 ids = 3 [packed = true];- Specified by:
getIdsListin interfaceGribCollectionProto.VariableOrBuilder- Returns:
- A list containing the ids.
-
getIdsCount
public int getIdsCount()
extra info not in pds; grib2 id section
repeated uint32 ids = 3 [packed = true];- Specified by:
getIdsCountin interfaceGribCollectionProto.VariableOrBuilder- Returns:
- The count of ids.
-
getIds
public int getIds(int index)
extra info not in pds; grib2 id section
repeated uint32 ids = 3 [packed = true];- Specified by:
getIdsin interfaceGribCollectionProto.VariableOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ids at the given index.
-
getRecordsPos
public long getRecordsPos()
offset of SparseArray message for this Variable
uint64 recordsPos = 4;- Specified by:
getRecordsPosin interfaceGribCollectionProto.VariableOrBuilder- Returns:
- The recordsPos.
-
getRecordsLen
public int getRecordsLen()
size of SparseArray message for this Variable
uint32 recordsLen = 5;- Specified by:
getRecordsLenin interfaceGribCollectionProto.VariableOrBuilder- Returns:
- The recordsLen.
-
getCoordIdxList
public List<Integer> getCoordIdxList()
indexes into Group.coords
repeated uint32 coordIdx = 6 [packed = true];- Specified by:
getCoordIdxListin interfaceGribCollectionProto.VariableOrBuilder- Returns:
- A list containing the coordIdx.
-
getCoordIdxCount
public int getCoordIdxCount()
indexes into Group.coords
repeated uint32 coordIdx = 6 [packed = true];- Specified by:
getCoordIdxCountin interfaceGribCollectionProto.VariableOrBuilder- Returns:
- The count of coordIdx.
-
getCoordIdx
public int getCoordIdx(int index)
indexes into Group.coords
repeated uint32 coordIdx = 6 [packed = true];- Specified by:
getCoordIdxin interfaceGribCollectionProto.VariableOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The coordIdx at the given index.
-
getNdups
public int getNdups()
optionally keep stats
uint32 ndups = 8;- Specified by:
getNdupsin interfaceGribCollectionProto.VariableOrBuilder- Returns:
- The ndups.
-
getNrecords
public int getNrecords()
uint32 nrecords = 9;- Specified by:
getNrecordsin interfaceGribCollectionProto.VariableOrBuilder- Returns:
- The nrecords.
-
getMissing
public int getMissing()
uint32 missing = 10;- Specified by:
getMissingin interfaceGribCollectionProto.VariableOrBuilder- Returns:
- The missing.
-
getPartVariableList
public List<GribCollectionProto.PartitionVariable> getPartVariableList()
partition only
repeated .PartitionVariable partVariable = 100;- Specified by:
getPartVariableListin interfaceGribCollectionProto.VariableOrBuilder
-
getPartVariableOrBuilderList
public List<? extends GribCollectionProto.PartitionVariableOrBuilder> getPartVariableOrBuilderList()
partition only
repeated .PartitionVariable partVariable = 100;- Specified by:
getPartVariableOrBuilderListin interfaceGribCollectionProto.VariableOrBuilder
-
getPartVariableCount
public int getPartVariableCount()
partition only
repeated .PartitionVariable partVariable = 100;- Specified by:
getPartVariableCountin interfaceGribCollectionProto.VariableOrBuilder
-
getPartVariable
public GribCollectionProto.PartitionVariable getPartVariable(int index)
partition only
repeated .PartitionVariable partVariable = 100;- Specified by:
getPartVariablein interfaceGribCollectionProto.VariableOrBuilder
-
getPartVariableOrBuilder
public GribCollectionProto.PartitionVariableOrBuilder getPartVariableOrBuilder(int index)
partition only
repeated .PartitionVariable partVariable = 100;- Specified by:
getPartVariableOrBuilderin interfaceGribCollectionProto.VariableOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GribCollectionProto.Variable parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Variable parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Variable parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Variable parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Variable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Variable parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Variable parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GribCollectionProto.Variable parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GribCollectionProto.Variable parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GribCollectionProto.Variable parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GribCollectionProto.Variable parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GribCollectionProto.Variable parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GribCollectionProto.Variable.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GribCollectionProto.Variable.Builder newBuilder()
-
newBuilder
public static GribCollectionProto.Variable.Builder newBuilder(GribCollectionProto.Variable prototype)
-
toBuilder
public GribCollectionProto.Variable.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GribCollectionProto.Variable.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GribCollectionProto.Variable getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GribCollectionProto.Variable> parser()
-
getParserForType
public com.google.protobuf.Parser<GribCollectionProto.Variable> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GribCollectionProto.Variable getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-