Package ucar.nc2.grib.grib1
Class Grib1IndexProto.Grib1Index.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder>
-
- ucar.nc2.grib.grib1.Grib1IndexProto.Grib1Index.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Grib1IndexProto.Grib1IndexOrBuilder
- Enclosing class:
- Grib1IndexProto.Grib1Index
public static final class Grib1IndexProto.Grib1Index.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder> implements Grib1IndexProto.Grib1IndexOrBuilder
Protobuf typeGrib1Index
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<Grib1IndexProto.Grib1Index.Builder>
-
clear
public Grib1IndexProto.Grib1Index.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<Grib1IndexProto.Grib1Index.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<Grib1IndexProto.Grib1Index.Builder>
-
getDefaultInstanceForType
public Grib1IndexProto.Grib1Index getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Grib1IndexProto.Grib1Index build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Grib1IndexProto.Grib1Index buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Grib1IndexProto.Grib1Index.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder>
-
setField
public Grib1IndexProto.Grib1Index.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder>
-
clearField
public Grib1IndexProto.Grib1Index.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder>
-
clearOneof
public Grib1IndexProto.Grib1Index.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder>
-
setRepeatedField
public Grib1IndexProto.Grib1Index.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder>
-
addRepeatedField
public Grib1IndexProto.Grib1Index.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder>
-
mergeFrom
public Grib1IndexProto.Grib1Index.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Grib1IndexProto.Grib1Index.Builder>
-
mergeFrom
public Grib1IndexProto.Grib1Index.Builder mergeFrom(Grib1IndexProto.Grib1Index other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder>
-
mergeFrom
public Grib1IndexProto.Grib1Index.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<Grib1IndexProto.Grib1Index.Builder>- Throws:
IOException
-
hasFilename
public boolean hasFilename()
required string filename = 1;- Specified by:
hasFilenamein interfaceGrib1IndexProto.Grib1IndexOrBuilder- Returns:
- Whether the filename field is set.
-
getFilename
public String getFilename()
required string filename = 1;- Specified by:
getFilenamein interfaceGrib1IndexProto.Grib1IndexOrBuilder- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()
required string filename = 1;- Specified by:
getFilenameBytesin interfaceGrib1IndexProto.Grib1IndexOrBuilder- Returns:
- The bytes for filename.
-
setFilename
public Grib1IndexProto.Grib1Index.Builder setFilename(String value)
required string filename = 1;- Parameters:
value- The filename to set.- Returns:
- This builder for chaining.
-
clearFilename
public Grib1IndexProto.Grib1Index.Builder clearFilename()
required string filename = 1;- Returns:
- This builder for chaining.
-
setFilenameBytes
public Grib1IndexProto.Grib1Index.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<Grib1IndexProto.Grib1GdsSection> getGdsListList()
GDS factored out
repeated .Grib1GdsSection gdsList = 2;- Specified by:
getGdsListListin interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getGdsListCount
public int getGdsListCount()
GDS factored out
repeated .Grib1GdsSection gdsList = 2;- Specified by:
getGdsListCountin interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getGdsList
public Grib1IndexProto.Grib1GdsSection getGdsList(int index)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;- Specified by:
getGdsListin interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
setGdsList
public Grib1IndexProto.Grib1Index.Builder setGdsList(int index, Grib1IndexProto.Grib1GdsSection value)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
setGdsList
public Grib1IndexProto.Grib1Index.Builder setGdsList(int index, Grib1IndexProto.Grib1GdsSection.Builder builderForValue)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
addGdsList
public Grib1IndexProto.Grib1Index.Builder addGdsList(Grib1IndexProto.Grib1GdsSection value)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
addGdsList
public Grib1IndexProto.Grib1Index.Builder addGdsList(int index, Grib1IndexProto.Grib1GdsSection value)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
addGdsList
public Grib1IndexProto.Grib1Index.Builder addGdsList(Grib1IndexProto.Grib1GdsSection.Builder builderForValue)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
addGdsList
public Grib1IndexProto.Grib1Index.Builder addGdsList(int index, Grib1IndexProto.Grib1GdsSection.Builder builderForValue)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
addAllGdsList
public Grib1IndexProto.Grib1Index.Builder addAllGdsList(Iterable<? extends Grib1IndexProto.Grib1GdsSection> values)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
clearGdsList
public Grib1IndexProto.Grib1Index.Builder clearGdsList()
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
removeGdsList
public Grib1IndexProto.Grib1Index.Builder removeGdsList(int index)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
getGdsListBuilder
public Grib1IndexProto.Grib1GdsSection.Builder getGdsListBuilder(int index)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
getGdsListOrBuilder
public Grib1IndexProto.Grib1GdsSectionOrBuilder getGdsListOrBuilder(int index)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;- Specified by:
getGdsListOrBuilderin interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getGdsListOrBuilderList
public List<? extends Grib1IndexProto.Grib1GdsSectionOrBuilder> getGdsListOrBuilderList()
GDS factored out
repeated .Grib1GdsSection gdsList = 2;- Specified by:
getGdsListOrBuilderListin interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
addGdsListBuilder
public Grib1IndexProto.Grib1GdsSection.Builder addGdsListBuilder()
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
addGdsListBuilder
public Grib1IndexProto.Grib1GdsSection.Builder addGdsListBuilder(int index)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
getGdsListBuilderList
public List<Grib1IndexProto.Grib1GdsSection.Builder> getGdsListBuilderList()
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
-
getRecordsList
public List<Grib1IndexProto.Grib1Record> getRecordsList()
repeated .Grib1Record records = 3;- Specified by:
getRecordsListin interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getRecordsCount
public int getRecordsCount()
repeated .Grib1Record records = 3;- Specified by:
getRecordsCountin interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getRecords
public Grib1IndexProto.Grib1Record getRecords(int index)
repeated .Grib1Record records = 3;- Specified by:
getRecordsin interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
setRecords
public Grib1IndexProto.Grib1Index.Builder setRecords(int index, Grib1IndexProto.Grib1Record value)
repeated .Grib1Record records = 3;
-
setRecords
public Grib1IndexProto.Grib1Index.Builder setRecords(int index, Grib1IndexProto.Grib1Record.Builder builderForValue)
repeated .Grib1Record records = 3;
-
addRecords
public Grib1IndexProto.Grib1Index.Builder addRecords(Grib1IndexProto.Grib1Record value)
repeated .Grib1Record records = 3;
-
addRecords
public Grib1IndexProto.Grib1Index.Builder addRecords(int index, Grib1IndexProto.Grib1Record value)
repeated .Grib1Record records = 3;
-
addRecords
public Grib1IndexProto.Grib1Index.Builder addRecords(Grib1IndexProto.Grib1Record.Builder builderForValue)
repeated .Grib1Record records = 3;
-
addRecords
public Grib1IndexProto.Grib1Index.Builder addRecords(int index, Grib1IndexProto.Grib1Record.Builder builderForValue)
repeated .Grib1Record records = 3;
-
addAllRecords
public Grib1IndexProto.Grib1Index.Builder addAllRecords(Iterable<? extends Grib1IndexProto.Grib1Record> values)
repeated .Grib1Record records = 3;
-
clearRecords
public Grib1IndexProto.Grib1Index.Builder clearRecords()
repeated .Grib1Record records = 3;
-
removeRecords
public Grib1IndexProto.Grib1Index.Builder removeRecords(int index)
repeated .Grib1Record records = 3;
-
getRecordsBuilder
public Grib1IndexProto.Grib1Record.Builder getRecordsBuilder(int index)
repeated .Grib1Record records = 3;
-
getRecordsOrBuilder
public Grib1IndexProto.Grib1RecordOrBuilder getRecordsOrBuilder(int index)
repeated .Grib1Record records = 3;- Specified by:
getRecordsOrBuilderin interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getRecordsOrBuilderList
public List<? extends Grib1IndexProto.Grib1RecordOrBuilder> getRecordsOrBuilderList()
repeated .Grib1Record records = 3;- Specified by:
getRecordsOrBuilderListin interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
addRecordsBuilder
public Grib1IndexProto.Grib1Record.Builder addRecordsBuilder()
repeated .Grib1Record records = 3;
-
addRecordsBuilder
public Grib1IndexProto.Grib1Record.Builder addRecordsBuilder(int index)
repeated .Grib1Record records = 3;
-
getRecordsBuilderList
public List<Grib1IndexProto.Grib1Record.Builder> getRecordsBuilderList()
repeated .Grib1Record records = 3;
-
setUnknownFields
public final Grib1IndexProto.Grib1Index.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder>
-
mergeUnknownFields
public final Grib1IndexProto.Grib1Index.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder>
-
-