Package ucar.nc2.grib.grib1
Class Grib1IndexProto.Grib1Record
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- ucar.nc2.grib.grib1.Grib1IndexProto.Grib1Record
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,Grib1IndexProto.Grib1RecordOrBuilder
- Enclosing class:
- Grib1IndexProto
public static final class Grib1IndexProto.Grib1Record extends com.google.protobuf.GeneratedMessageV3 implements Grib1IndexProto.Grib1RecordOrBuilder
Protobuf typeGrib1Record
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Grib1IndexProto.Grib1Record.Builder
Protobuf typeGrib1Record
-
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
BMSPOS_FIELD_NUMBER
static int
DATALEN_FIELD_NUMBER
static int
DATAPOS_FIELD_NUMBER
static int
GDSIDX_FIELD_NUMBER
static int
GRIBMESSAGELENGTH_FIELD_NUMBER
static int
GRIBMESSAGESTART_FIELD_NUMBER
static int
HEADER_FIELD_NUMBER
static com.google.protobuf.Parser<Grib1IndexProto.Grib1Record>
PARSER
Deprecated.static int
PDS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
long
getBmsPos()
optional uint64 bmsPos = 11;
int
getDataLen()
required uint32 dataLen = 14;
long
getDataPos()
required uint64 dataPos = 13;
static Grib1IndexProto.Grib1Record
getDefaultInstance()
Grib1IndexProto.Grib1Record
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getGdsIdx()
other sectionslong
getGribMessageLength()
required uint64 gribMessageLength = 2;
long
getGribMessageStart()
indicator sectioncom.google.protobuf.ByteString
getHeader()
required bytes header = 1;
com.google.protobuf.Parser<Grib1IndexProto.Grib1Record>
getParserForType()
com.google.protobuf.ByteString
getPds()
required bytes pds = 7;
int
getSerializedSize()
boolean
hasBmsPos()
optional uint64 bmsPos = 11;
boolean
hasDataLen()
required uint32 dataLen = 14;
boolean
hasDataPos()
required uint64 dataPos = 13;
boolean
hasGdsIdx()
other sectionsboolean
hasGribMessageLength()
required uint64 gribMessageLength = 2;
boolean
hasGribMessageStart()
indicator sectionint
hashCode()
boolean
hasHeader()
required bytes header = 1;
boolean
hasPds()
required bytes pds = 7;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Grib1IndexProto.Grib1Record.Builder
newBuilder()
static Grib1IndexProto.Grib1Record.Builder
newBuilder(Grib1IndexProto.Grib1Record prototype)
Grib1IndexProto.Grib1Record.Builder
newBuilderForType()
protected Grib1IndexProto.Grib1Record.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Grib1IndexProto.Grib1Record
parseDelimitedFrom(InputStream input)
static Grib1IndexProto.Grib1Record
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Grib1IndexProto.Grib1Record
parseFrom(byte[] data)
static Grib1IndexProto.Grib1Record
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Grib1IndexProto.Grib1Record
parseFrom(com.google.protobuf.ByteString data)
static Grib1IndexProto.Grib1Record
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Grib1IndexProto.Grib1Record
parseFrom(com.google.protobuf.CodedInputStream input)
static Grib1IndexProto.Grib1Record
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Grib1IndexProto.Grib1Record
parseFrom(InputStream input)
static Grib1IndexProto.Grib1Record
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Grib1IndexProto.Grib1Record
parseFrom(ByteBuffer data)
static Grib1IndexProto.Grib1Record
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Grib1IndexProto.Grib1Record>
parser()
Grib1IndexProto.Grib1Record.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
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GRIBMESSAGESTART_FIELD_NUMBER
public static final int GRIBMESSAGESTART_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GRIBMESSAGELENGTH_FIELD_NUMBER
public static final int GRIBMESSAGELENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GDSIDX_FIELD_NUMBER
public static final int GDSIDX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PDS_FIELD_NUMBER
public static final int PDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BMSPOS_FIELD_NUMBER
public static final int BMSPOS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATAPOS_FIELD_NUMBER
public static final int DATAPOS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATALEN_FIELD_NUMBER
public static final int DATALEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Grib1IndexProto.Grib1Record> PARSER
Deprecated.
-
-
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
-
hasHeader
public boolean hasHeader()
required bytes header = 1;
- Specified by:
hasHeader
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- Whether the header field is set.
-
getHeader
public com.google.protobuf.ByteString getHeader()
required bytes header = 1;
- Specified by:
getHeader
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- The header.
-
hasGribMessageStart
public boolean hasGribMessageStart()
indicator section
optional uint64 gribMessageStart = 15;
- Specified by:
hasGribMessageStart
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- Whether the gribMessageStart field is set.
-
getGribMessageStart
public long getGribMessageStart()
indicator section
optional uint64 gribMessageStart = 15;
- Specified by:
getGribMessageStart
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- The gribMessageStart.
-
hasGribMessageLength
public boolean hasGribMessageLength()
required uint64 gribMessageLength = 2;
- Specified by:
hasGribMessageLength
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- Whether the gribMessageLength field is set.
-
getGribMessageLength
public long getGribMessageLength()
required uint64 gribMessageLength = 2;
- Specified by:
getGribMessageLength
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- The gribMessageLength.
-
hasGdsIdx
public boolean hasGdsIdx()
other sections
required uint32 gdsIdx = 6;
- Specified by:
hasGdsIdx
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- Whether the gdsIdx field is set.
-
getGdsIdx
public int getGdsIdx()
other sections
required uint32 gdsIdx = 6;
- Specified by:
getGdsIdx
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- The gdsIdx.
-
hasPds
public boolean hasPds()
required bytes pds = 7;
- Specified by:
hasPds
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- Whether the pds field is set.
-
getPds
public com.google.protobuf.ByteString getPds()
required bytes pds = 7;
- Specified by:
getPds
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- The pds.
-
hasBmsPos
public boolean hasBmsPos()
optional uint64 bmsPos = 11;
- Specified by:
hasBmsPos
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- Whether the bmsPos field is set.
-
getBmsPos
public long getBmsPos()
optional uint64 bmsPos = 11;
- Specified by:
getBmsPos
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- The bmsPos.
-
hasDataPos
public boolean hasDataPos()
required uint64 dataPos = 13;
- Specified by:
hasDataPos
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- Whether the dataPos field is set.
-
getDataPos
public long getDataPos()
required uint64 dataPos = 13;
- Specified by:
getDataPos
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- The dataPos.
-
hasDataLen
public boolean hasDataLen()
required uint32 dataLen = 14;
- Specified by:
hasDataLen
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- Whether the dataLen field is set.
-
getDataLen
public int getDataLen()
required uint32 dataLen = 14;
- Specified by:
getDataLen
in interfaceGrib1IndexProto.Grib1RecordOrBuilder
- Returns:
- The dataLen.
-
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 Grib1IndexProto.Grib1Record parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Grib1IndexProto.Grib1Record parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Grib1IndexProto.Grib1Record parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Grib1IndexProto.Grib1Record parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Grib1IndexProto.Grib1Record parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Grib1IndexProto.Grib1Record parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Grib1IndexProto.Grib1Record parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Grib1IndexProto.Grib1Record parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Grib1IndexProto.Grib1Record parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Grib1IndexProto.Grib1Record parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Grib1IndexProto.Grib1Record parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Grib1IndexProto.Grib1Record parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Grib1IndexProto.Grib1Record.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Grib1IndexProto.Grib1Record.Builder newBuilder()
-
newBuilder
public static Grib1IndexProto.Grib1Record.Builder newBuilder(Grib1IndexProto.Grib1Record prototype)
-
toBuilder
public Grib1IndexProto.Grib1Record.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Grib1IndexProto.Grib1Record.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Grib1IndexProto.Grib1Record getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Grib1IndexProto.Grib1Record> parser()
-
getParserForType
public com.google.protobuf.Parser<Grib1IndexProto.Grib1Record> 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 Grib1IndexProto.Grib1Record getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-