Package ucar.nc2.grib.grib1
Class Grib1IndexProto.Grib1Record.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Record.Builder>
-
- ucar.nc2.grib.grib1.Grib1IndexProto.Grib1Record.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Grib1IndexProto.Grib1RecordOrBuilder
- Enclosing class:
- Grib1IndexProto.Grib1Record
public static final class Grib1IndexProto.Grib1Record.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Record.Builder> implements Grib1IndexProto.Grib1RecordOrBuilder
Protobuf typeGrib1Record
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Grib1IndexProto.Grib1Record
build()
Grib1IndexProto.Grib1Record
buildPartial()
Grib1IndexProto.Grib1Record.Builder
clear()
Grib1IndexProto.Grib1Record.Builder
clearBmsPos()
optional uint64 bmsPos = 11;
Grib1IndexProto.Grib1Record.Builder
clearDataLen()
required uint32 dataLen = 14;
Grib1IndexProto.Grib1Record.Builder
clearDataPos()
required uint64 dataPos = 13;
Grib1IndexProto.Grib1Record.Builder
clearGdsIdx()
other sectionsGrib1IndexProto.Grib1Record.Builder
clearGribMessageLength()
required uint64 gribMessageLength = 2;
Grib1IndexProto.Grib1Record.Builder
clearGribMessageStart()
indicator sectionGrib1IndexProto.Grib1Record.Builder
clearHeader()
required bytes header = 1;
Grib1IndexProto.Grib1Record.Builder
clearPds()
required bytes pds = 7;
long
getBmsPos()
optional uint64 bmsPos = 11;
int
getDataLen()
required uint32 dataLen = 14;
long
getDataPos()
required uint64 dataPos = 13;
Grib1IndexProto.Grib1Record
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getGdsIdx()
other sectionslong
getGribMessageLength()
required uint64 gribMessageLength = 2;
long
getGribMessageStart()
indicator sectioncom.google.protobuf.ByteString
getHeader()
required bytes header = 1;
com.google.protobuf.ByteString
getPds()
required bytes pds = 7;
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 sectionboolean
hasHeader()
required bytes header = 1;
boolean
hasPds()
required bytes pds = 7;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Grib1IndexProto.Grib1Record.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Grib1IndexProto.Grib1Record.Builder
mergeFrom(com.google.protobuf.Message other)
Grib1IndexProto.Grib1Record.Builder
mergeFrom(Grib1IndexProto.Grib1Record other)
Grib1IndexProto.Grib1Record.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Grib1IndexProto.Grib1Record.Builder
setBmsPos(long value)
optional uint64 bmsPos = 11;
Grib1IndexProto.Grib1Record.Builder
setDataLen(int value)
required uint32 dataLen = 14;
Grib1IndexProto.Grib1Record.Builder
setDataPos(long value)
required uint64 dataPos = 13;
Grib1IndexProto.Grib1Record.Builder
setGdsIdx(int value)
other sectionsGrib1IndexProto.Grib1Record.Builder
setGribMessageLength(long value)
required uint64 gribMessageLength = 2;
Grib1IndexProto.Grib1Record.Builder
setGribMessageStart(long value)
indicator sectionGrib1IndexProto.Grib1Record.Builder
setHeader(com.google.protobuf.ByteString value)
required bytes header = 1;
Grib1IndexProto.Grib1Record.Builder
setPds(com.google.protobuf.ByteString value)
required bytes pds = 7;
Grib1IndexProto.Grib1Record.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Grib1IndexProto.Grib1Record.Builder>
-
clear
public Grib1IndexProto.Grib1Record.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Record.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Record.Builder>
-
getDefaultInstanceForType
public Grib1IndexProto.Grib1Record getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Grib1IndexProto.Grib1Record build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Grib1IndexProto.Grib1Record buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Grib1IndexProto.Grib1Record.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Grib1IndexProto.Grib1Record.Builder>
-
mergeFrom
public Grib1IndexProto.Grib1Record.Builder mergeFrom(Grib1IndexProto.Grib1Record other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Record.Builder>
-
mergeFrom
public Grib1IndexProto.Grib1Record.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Grib1IndexProto.Grib1Record.Builder>
- Throws:
IOException
-
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.
-
setHeader
public Grib1IndexProto.Grib1Record.Builder setHeader(com.google.protobuf.ByteString value)
required bytes header = 1;
- Parameters:
value
- The header to set.- Returns:
- This builder for chaining.
-
clearHeader
public Grib1IndexProto.Grib1Record.Builder clearHeader()
required bytes header = 1;
- Returns:
- This builder for chaining.
-
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.
-
setGribMessageStart
public Grib1IndexProto.Grib1Record.Builder setGribMessageStart(long value)
indicator section
optional uint64 gribMessageStart = 15;
- Parameters:
value
- The gribMessageStart to set.- Returns:
- This builder for chaining.
-
clearGribMessageStart
public Grib1IndexProto.Grib1Record.Builder clearGribMessageStart()
indicator section
optional uint64 gribMessageStart = 15;
- Returns:
- This builder for chaining.
-
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.
-
setGribMessageLength
public Grib1IndexProto.Grib1Record.Builder setGribMessageLength(long value)
required uint64 gribMessageLength = 2;
- Parameters:
value
- The gribMessageLength to set.- Returns:
- This builder for chaining.
-
clearGribMessageLength
public Grib1IndexProto.Grib1Record.Builder clearGribMessageLength()
required uint64 gribMessageLength = 2;
- Returns:
- This builder for chaining.
-
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.
-
setGdsIdx
public Grib1IndexProto.Grib1Record.Builder setGdsIdx(int value)
other sections
required uint32 gdsIdx = 6;
- Parameters:
value
- The gdsIdx to set.- Returns:
- This builder for chaining.
-
clearGdsIdx
public Grib1IndexProto.Grib1Record.Builder clearGdsIdx()
other sections
required uint32 gdsIdx = 6;
- Returns:
- This builder for chaining.
-
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.
-
setPds
public Grib1IndexProto.Grib1Record.Builder setPds(com.google.protobuf.ByteString value)
required bytes pds = 7;
- Parameters:
value
- The pds to set.- Returns:
- This builder for chaining.
-
clearPds
public Grib1IndexProto.Grib1Record.Builder clearPds()
required bytes pds = 7;
- Returns:
- This builder for chaining.
-
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.
-
setBmsPos
public Grib1IndexProto.Grib1Record.Builder setBmsPos(long value)
optional uint64 bmsPos = 11;
- Parameters:
value
- The bmsPos to set.- Returns:
- This builder for chaining.
-
clearBmsPos
public Grib1IndexProto.Grib1Record.Builder clearBmsPos()
optional uint64 bmsPos = 11;
- Returns:
- This builder for chaining.
-
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.
-
setDataPos
public Grib1IndexProto.Grib1Record.Builder setDataPos(long value)
required uint64 dataPos = 13;
- Parameters:
value
- The dataPos to set.- Returns:
- This builder for chaining.
-
clearDataPos
public Grib1IndexProto.Grib1Record.Builder clearDataPos()
required uint64 dataPos = 13;
- Returns:
- This builder for chaining.
-
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.
-
setDataLen
public Grib1IndexProto.Grib1Record.Builder setDataLen(int value)
required uint32 dataLen = 14;
- Parameters:
value
- The dataLen to set.- Returns:
- This builder for chaining.
-
clearDataLen
public Grib1IndexProto.Grib1Record.Builder clearDataLen()
required uint32 dataLen = 14;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Grib1IndexProto.Grib1Record.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Record.Builder>
-
mergeUnknownFields
public final Grib1IndexProto.Grib1Record.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Record.Builder>
-
-