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 class
GribCollectionProto.Variable.Builder
Protobuf 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 int
COORDIDX_FIELD_NUMBER
static int
DISCIPLINE_FIELD_NUMBER
static int
IDS_FIELD_NUMBER
static int
MISSING_FIELD_NUMBER
static int
NDUPS_FIELD_NUMBER
static int
NRECORDS_FIELD_NUMBER
static int
PARTVARIABLE_FIELD_NUMBER
static int
PDS_FIELD_NUMBER
static int
RECORDSLEN_FIELD_NUMBER
static int
RECORDSPOS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getCoordIdx(int index)
indexes into Group.coordsint
getCoordIdxCount()
indexes into Group.coordsList<Integer>
getCoordIdxList()
indexes into Group.coordsstatic GribCollectionProto.Variable
getDefaultInstance()
GribCollectionProto.Variable
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getDiscipline()
uint32 discipline = 1;
int
getIds(int index)
extra info not in pds; grib2 id sectionint
getIdsCount()
extra info not in pds; grib2 id sectionList<Integer>
getIdsList()
extra info not in pds; grib2 id sectionint
getMissing()
uint32 missing = 10;
int
getNdups()
optionally keep statsint
getNrecords()
uint32 nrecords = 9;
com.google.protobuf.Parser<GribCollectionProto.Variable>
getParserForType()
GribCollectionProto.PartitionVariable
getPartVariable(int index)
partition onlyint
getPartVariableCount()
partition onlyList<GribCollectionProto.PartitionVariable>
getPartVariableList()
partition onlyGribCollectionProto.PartitionVariableOrBuilder
getPartVariableOrBuilder(int index)
partition onlyList<? extends GribCollectionProto.PartitionVariableOrBuilder>
getPartVariableOrBuilderList()
partition onlycom.google.protobuf.ByteString
getPds()
raw pdsint
getRecordsLen()
size of SparseArray message for this Variablelong
getRecordsPos()
offset of SparseArray message for this Variableint
getSerializedSize()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static GribCollectionProto.Variable.Builder
newBuilder()
static GribCollectionProto.Variable.Builder
newBuilder(GribCollectionProto.Variable prototype)
GribCollectionProto.Variable.Builder
newBuilderForType()
protected GribCollectionProto.Variable.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static GribCollectionProto.Variable
parseDelimitedFrom(InputStream input)
static GribCollectionProto.Variable
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GribCollectionProto.Variable
parseFrom(byte[] data)
static GribCollectionProto.Variable
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GribCollectionProto.Variable
parseFrom(com.google.protobuf.ByteString data)
static GribCollectionProto.Variable
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GribCollectionProto.Variable
parseFrom(com.google.protobuf.CodedInputStream input)
static GribCollectionProto.Variable
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GribCollectionProto.Variable
parseFrom(InputStream input)
static GribCollectionProto.Variable
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GribCollectionProto.Variable
parseFrom(ByteBuffer data)
static GribCollectionProto.Variable
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<GribCollectionProto.Variable>
parser()
GribCollectionProto.Variable.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDiscipline
public int getDiscipline()
uint32 discipline = 1;
- Specified by:
getDiscipline
in interfaceGribCollectionProto.VariableOrBuilder
- Returns:
- The discipline.
-
getPds
public com.google.protobuf.ByteString getPds()
raw pds
bytes pds = 2;
- Specified by:
getPds
in 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:
getIdsList
in 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:
getIdsCount
in 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:
getIds
in 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:
getRecordsPos
in interfaceGribCollectionProto.VariableOrBuilder
- Returns:
- The recordsPos.
-
getRecordsLen
public int getRecordsLen()
size of SparseArray message for this Variable
uint32 recordsLen = 5;
- Specified by:
getRecordsLen
in interfaceGribCollectionProto.VariableOrBuilder
- Returns:
- The recordsLen.
-
getCoordIdxList
public List<Integer> getCoordIdxList()
indexes into Group.coords
repeated uint32 coordIdx = 6 [packed = true];
- Specified by:
getCoordIdxList
in interfaceGribCollectionProto.VariableOrBuilder
- Returns:
- A list containing the coordIdx.
-
getCoordIdxCount
public int getCoordIdxCount()
indexes into Group.coords
repeated uint32 coordIdx = 6 [packed = true];
- Specified by:
getCoordIdxCount
in 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:
getCoordIdx
in 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:
getNdups
in interfaceGribCollectionProto.VariableOrBuilder
- Returns:
- The ndups.
-
getNrecords
public int getNrecords()
uint32 nrecords = 9;
- Specified by:
getNrecords
in interfaceGribCollectionProto.VariableOrBuilder
- Returns:
- The nrecords.
-
getMissing
public int getMissing()
uint32 missing = 10;
- Specified by:
getMissing
in interfaceGribCollectionProto.VariableOrBuilder
- Returns:
- The missing.
-
getPartVariableList
public List<GribCollectionProto.PartitionVariable> getPartVariableList()
partition only
repeated .PartitionVariable partVariable = 100;
- Specified by:
getPartVariableList
in interfaceGribCollectionProto.VariableOrBuilder
-
getPartVariableOrBuilderList
public List<? extends GribCollectionProto.PartitionVariableOrBuilder> getPartVariableOrBuilderList()
partition only
repeated .PartitionVariable partVariable = 100;
- Specified by:
getPartVariableOrBuilderList
in interfaceGribCollectionProto.VariableOrBuilder
-
getPartVariableCount
public int getPartVariableCount()
partition only
repeated .PartitionVariable partVariable = 100;
- Specified by:
getPartVariableCount
in interfaceGribCollectionProto.VariableOrBuilder
-
getPartVariable
public GribCollectionProto.PartitionVariable getPartVariable(int index)
partition only
repeated .PartitionVariable partVariable = 100;
- Specified by:
getPartVariable
in interfaceGribCollectionProto.VariableOrBuilder
-
getPartVariableOrBuilder
public GribCollectionProto.PartitionVariableOrBuilder getPartVariableOrBuilder(int index)
partition only
repeated .PartitionVariable partVariable = 100;
- Specified by:
getPartVariableOrBuilder
in interfaceGribCollectionProto.VariableOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GribCollectionProto.Variable.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GribCollectionProto.Variable getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-