Package ucar.nc2.grib.grib2
Class Grib2IndexProto.Grib2Index.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Grib2IndexProto.Grib2Index.Builder>
-
- ucar.nc2.grib.grib2.Grib2IndexProto.Grib2Index.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Grib2IndexProto.Grib2IndexOrBuilder
- Enclosing class:
- Grib2IndexProto.Grib2Index
public static final class Grib2IndexProto.Grib2Index.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Grib2IndexProto.Grib2Index.Builder> implements Grib2IndexProto.Grib2IndexOrBuilder
Protobuf typeGrib2Index
-
-
Method Summary
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Grib2IndexProto.Grib2Index.Builder>
-
clear
public Grib2IndexProto.Grib2Index.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib2IndexProto.Grib2Index.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Grib2IndexProto.Grib2Index.Builder>
-
getDefaultInstanceForType
public Grib2IndexProto.Grib2Index getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Grib2IndexProto.Grib2Index build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Grib2IndexProto.Grib2Index buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Grib2IndexProto.Grib2Index.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Grib2IndexProto.Grib2Index.Builder>
-
mergeFrom
public Grib2IndexProto.Grib2Index.Builder mergeFrom(Grib2IndexProto.Grib2Index other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib2IndexProto.Grib2Index.Builder>
-
mergeFrom
public Grib2IndexProto.Grib2Index.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Grib2IndexProto.Grib2Index.Builder>- Throws:
IOException
-
hasFilename
public boolean hasFilename()
required string filename = 1;- Specified by:
hasFilenamein interfaceGrib2IndexProto.Grib2IndexOrBuilder- Returns:
- Whether the filename field is set.
-
getFilename
public String getFilename()
required string filename = 1;- Specified by:
getFilenamein interfaceGrib2IndexProto.Grib2IndexOrBuilder- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()
required string filename = 1;- Specified by:
getFilenameBytesin interfaceGrib2IndexProto.Grib2IndexOrBuilder- Returns:
- The bytes for filename.
-
setFilename
public Grib2IndexProto.Grib2Index.Builder setFilename(String value)
required string filename = 1;- Parameters:
value- The filename to set.- Returns:
- This builder for chaining.
-
clearFilename
public Grib2IndexProto.Grib2Index.Builder clearFilename()
required string filename = 1;- Returns:
- This builder for chaining.
-
setFilenameBytes
public Grib2IndexProto.Grib2Index.Builder setFilenameBytes(com.google.protobuf.ByteString value)
required string filename = 1;- Parameters:
value- The bytes for filename to set.- Returns:
- This builder for chaining.
-
getGdsListList
public List<Grib2IndexProto.GribGdsSection> getGdsListList()
GDS factored out
repeated .GribGdsSection gdsList = 2;- Specified by:
getGdsListListin interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getGdsListCount
public int getGdsListCount()
GDS factored out
repeated .GribGdsSection gdsList = 2;- Specified by:
getGdsListCountin interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getGdsList
public Grib2IndexProto.GribGdsSection getGdsList(int index)
GDS factored out
repeated .GribGdsSection gdsList = 2;- Specified by:
getGdsListin interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
setGdsList
public Grib2IndexProto.Grib2Index.Builder setGdsList(int index, Grib2IndexProto.GribGdsSection value)
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
setGdsList
public Grib2IndexProto.Grib2Index.Builder setGdsList(int index, Grib2IndexProto.GribGdsSection.Builder builderForValue)
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
addGdsList
public Grib2IndexProto.Grib2Index.Builder addGdsList(Grib2IndexProto.GribGdsSection value)
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
addGdsList
public Grib2IndexProto.Grib2Index.Builder addGdsList(int index, Grib2IndexProto.GribGdsSection value)
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
addGdsList
public Grib2IndexProto.Grib2Index.Builder addGdsList(Grib2IndexProto.GribGdsSection.Builder builderForValue)
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
addGdsList
public Grib2IndexProto.Grib2Index.Builder addGdsList(int index, Grib2IndexProto.GribGdsSection.Builder builderForValue)
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
addAllGdsList
public Grib2IndexProto.Grib2Index.Builder addAllGdsList(Iterable<? extends Grib2IndexProto.GribGdsSection> values)
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
clearGdsList
public Grib2IndexProto.Grib2Index.Builder clearGdsList()
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
removeGdsList
public Grib2IndexProto.Grib2Index.Builder removeGdsList(int index)
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
getGdsListBuilder
public Grib2IndexProto.GribGdsSection.Builder getGdsListBuilder(int index)
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
getGdsListOrBuilder
public Grib2IndexProto.GribGdsSectionOrBuilder getGdsListOrBuilder(int index)
GDS factored out
repeated .GribGdsSection gdsList = 2;- Specified by:
getGdsListOrBuilderin interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getGdsListOrBuilderList
public List<? extends Grib2IndexProto.GribGdsSectionOrBuilder> getGdsListOrBuilderList()
GDS factored out
repeated .GribGdsSection gdsList = 2;- Specified by:
getGdsListOrBuilderListin interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
addGdsListBuilder
public Grib2IndexProto.GribGdsSection.Builder addGdsListBuilder()
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
addGdsListBuilder
public Grib2IndexProto.GribGdsSection.Builder addGdsListBuilder(int index)
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
getGdsListBuilderList
public List<Grib2IndexProto.GribGdsSection.Builder> getGdsListBuilderList()
GDS factored out
repeated .GribGdsSection gdsList = 2;
-
getRecordsList
public List<Grib2IndexProto.Grib2Record> getRecordsList()
repeated .Grib2Record records = 3;- Specified by:
getRecordsListin interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getRecordsCount
public int getRecordsCount()
repeated .Grib2Record records = 3;- Specified by:
getRecordsCountin interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getRecords
public Grib2IndexProto.Grib2Record getRecords(int index)
repeated .Grib2Record records = 3;- Specified by:
getRecordsin interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
setRecords
public Grib2IndexProto.Grib2Index.Builder setRecords(int index, Grib2IndexProto.Grib2Record value)
repeated .Grib2Record records = 3;
-
setRecords
public Grib2IndexProto.Grib2Index.Builder setRecords(int index, Grib2IndexProto.Grib2Record.Builder builderForValue)
repeated .Grib2Record records = 3;
-
addRecords
public Grib2IndexProto.Grib2Index.Builder addRecords(Grib2IndexProto.Grib2Record value)
repeated .Grib2Record records = 3;
-
addRecords
public Grib2IndexProto.Grib2Index.Builder addRecords(int index, Grib2IndexProto.Grib2Record value)
repeated .Grib2Record records = 3;
-
addRecords
public Grib2IndexProto.Grib2Index.Builder addRecords(Grib2IndexProto.Grib2Record.Builder builderForValue)
repeated .Grib2Record records = 3;
-
addRecords
public Grib2IndexProto.Grib2Index.Builder addRecords(int index, Grib2IndexProto.Grib2Record.Builder builderForValue)
repeated .Grib2Record records = 3;
-
addAllRecords
public Grib2IndexProto.Grib2Index.Builder addAllRecords(Iterable<? extends Grib2IndexProto.Grib2Record> values)
repeated .Grib2Record records = 3;
-
clearRecords
public Grib2IndexProto.Grib2Index.Builder clearRecords()
repeated .Grib2Record records = 3;
-
removeRecords
public Grib2IndexProto.Grib2Index.Builder removeRecords(int index)
repeated .Grib2Record records = 3;
-
getRecordsBuilder
public Grib2IndexProto.Grib2Record.Builder getRecordsBuilder(int index)
repeated .Grib2Record records = 3;
-
getRecordsOrBuilder
public Grib2IndexProto.Grib2RecordOrBuilder getRecordsOrBuilder(int index)
repeated .Grib2Record records = 3;- Specified by:
getRecordsOrBuilderin interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getRecordsOrBuilderList
public List<? extends Grib2IndexProto.Grib2RecordOrBuilder> getRecordsOrBuilderList()
repeated .Grib2Record records = 3;- Specified by:
getRecordsOrBuilderListin interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
addRecordsBuilder
public Grib2IndexProto.Grib2Record.Builder addRecordsBuilder()
repeated .Grib2Record records = 3;
-
addRecordsBuilder
public Grib2IndexProto.Grib2Record.Builder addRecordsBuilder(int index)
repeated .Grib2Record records = 3;
-
getRecordsBuilderList
public List<Grib2IndexProto.Grib2Record.Builder> getRecordsBuilderList()
repeated .Grib2Record records = 3;
-
setUnknownFields
public final Grib2IndexProto.Grib2Index.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib2IndexProto.Grib2Index.Builder>
-
mergeUnknownFields
public final Grib2IndexProto.Grib2Index.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib2IndexProto.Grib2Index.Builder>
-
-