Package ucar.nc2.grib.collection
Class GribCollectionProto.Record.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Record.Builder>
-
- ucar.nc2.grib.collection.GribCollectionProto.Record.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GribCollectionProto.RecordOrBuilder
- Enclosing class:
- GribCollectionProto.Record
public static final class GribCollectionProto.Record.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Record.Builder> implements GribCollectionProto.RecordOrBuilder
Protobuf typeRecord
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GribCollectionProto.Record
build()
GribCollectionProto.Record
buildPartial()
GribCollectionProto.Record.Builder
clear()
GribCollectionProto.Record.Builder
clearBmsOffset()
use alternate bms if non-zero (grib2 only).GribCollectionProto.Record.Builder
clearDrsOffset()
offset of drs from start (grib2 only)GribCollectionProto.Record.Builder
clearFileno()
which GRIB file ? key into GC.fileMapGribCollectionProto.Record.Builder
clearStartPos()
offset in GRIB file of the start of entire messageint
getBmsOffset()
use alternate bms if non-zero (grib2 only).GribCollectionProto.Record
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getDrsOffset()
offset of drs from start (grib2 only)int
getFileno()
which GRIB file ? key into GC.fileMaplong
getStartPos()
offset in GRIB file of the start of entire messageprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GribCollectionProto.Record.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GribCollectionProto.Record.Builder
mergeFrom(com.google.protobuf.Message other)
GribCollectionProto.Record.Builder
mergeFrom(GribCollectionProto.Record other)
GribCollectionProto.Record.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GribCollectionProto.Record.Builder
setBmsOffset(int value)
use alternate bms if non-zero (grib2 only).GribCollectionProto.Record.Builder
setDrsOffset(int value)
offset of drs from start (grib2 only)GribCollectionProto.Record.Builder
setFileno(int value)
which GRIB file ? key into GC.fileMapGribCollectionProto.Record.Builder
setStartPos(long value)
offset in GRIB file of the start of entire messageGribCollectionProto.Record.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<GribCollectionProto.Record.Builder>
-
clear
public GribCollectionProto.Record.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<GribCollectionProto.Record.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<GribCollectionProto.Record.Builder>
-
getDefaultInstanceForType
public GribCollectionProto.Record getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GribCollectionProto.Record build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GribCollectionProto.Record buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GribCollectionProto.Record.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GribCollectionProto.Record.Builder>
-
mergeFrom
public GribCollectionProto.Record.Builder mergeFrom(GribCollectionProto.Record other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Record.Builder>
-
mergeFrom
public GribCollectionProto.Record.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<GribCollectionProto.Record.Builder>
- Throws:
IOException
-
getFileno
public int getFileno()
which GRIB file ? key into GC.fileMap
uint32 fileno = 1;
- Specified by:
getFileno
in interfaceGribCollectionProto.RecordOrBuilder
- Returns:
- The fileno.
-
setFileno
public GribCollectionProto.Record.Builder setFileno(int value)
which GRIB file ? key into GC.fileMap
uint32 fileno = 1;
- Parameters:
value
- The fileno to set.- Returns:
- This builder for chaining.
-
clearFileno
public GribCollectionProto.Record.Builder clearFileno()
which GRIB file ? key into GC.fileMap
uint32 fileno = 1;
- Returns:
- This builder for chaining.
-
getStartPos
public long getStartPos()
offset in GRIB file of the start of entire message
uint64 startPos = 2;
- Specified by:
getStartPos
in interfaceGribCollectionProto.RecordOrBuilder
- Returns:
- The startPos.
-
setStartPos
public GribCollectionProto.Record.Builder setStartPos(long value)
offset in GRIB file of the start of entire message
uint64 startPos = 2;
- Parameters:
value
- The startPos to set.- Returns:
- This builder for chaining.
-
clearStartPos
public GribCollectionProto.Record.Builder clearStartPos()
offset in GRIB file of the start of entire message
uint64 startPos = 2;
- Returns:
- This builder for chaining.
-
getBmsOffset
public int getBmsOffset()
use alternate bms if non-zero (grib2 only). offset from start
uint32 bmsOffset = 3;
- Specified by:
getBmsOffset
in interfaceGribCollectionProto.RecordOrBuilder
- Returns:
- The bmsOffset.
-
setBmsOffset
public GribCollectionProto.Record.Builder setBmsOffset(int value)
use alternate bms if non-zero (grib2 only). offset from start
uint32 bmsOffset = 3;
- Parameters:
value
- The bmsOffset to set.- Returns:
- This builder for chaining.
-
clearBmsOffset
public GribCollectionProto.Record.Builder clearBmsOffset()
use alternate bms if non-zero (grib2 only). offset from start
uint32 bmsOffset = 3;
- Returns:
- This builder for chaining.
-
getDrsOffset
public int getDrsOffset()
offset of drs from start (grib2 only)
uint32 drsOffset = 4;
- Specified by:
getDrsOffset
in interfaceGribCollectionProto.RecordOrBuilder
- Returns:
- The drsOffset.
-
setDrsOffset
public GribCollectionProto.Record.Builder setDrsOffset(int value)
offset of drs from start (grib2 only)
uint32 drsOffset = 4;
- Parameters:
value
- The drsOffset to set.- Returns:
- This builder for chaining.
-
clearDrsOffset
public GribCollectionProto.Record.Builder clearDrsOffset()
offset of drs from start (grib2 only)
uint32 drsOffset = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GribCollectionProto.Record.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Record.Builder>
-
mergeUnknownFields
public final GribCollectionProto.Record.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Record.Builder>
-
-