Package ucar.nc2.grib.grib1
Class Grib1IndexProto.Grib1Index.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
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.Grib1Index.Builder>
-
clear
public Grib1IndexProto.Grib1Index.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.Grib1Index.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.Grib1Index.Builder>
-
getDefaultInstanceForType
public Grib1IndexProto.Grib1Index getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Grib1IndexProto.Grib1Index build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Grib1IndexProto.Grib1Index buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Grib1IndexProto.Grib1Index.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.Grib1Index.Builder>
-
mergeFrom
public Grib1IndexProto.Grib1Index.Builder mergeFrom(Grib1IndexProto.Grib1Index other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.Grib1Index.Builder>
- Throws:
IOException
-
hasFilename
public boolean hasFilename()
required string filename = 1;
- Specified by:
hasFilename
in interfaceGrib1IndexProto.Grib1IndexOrBuilder
- Returns:
- Whether the filename field is set.
-
getFilename
public String getFilename()
required string filename = 1;
- Specified by:
getFilename
in interfaceGrib1IndexProto.Grib1IndexOrBuilder
- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()
required string filename = 1;
- Specified by:
getFilenameBytes
in 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:
getGdsListList
in interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getGdsListCount
public int getGdsListCount()
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
- Specified by:
getGdsListCount
in interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getGdsList
public Grib1IndexProto.Grib1GdsSection getGdsList(int index)
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
- Specified by:
getGdsList
in 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:
getGdsListOrBuilder
in interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getGdsListOrBuilderList
public List<? extends Grib1IndexProto.Grib1GdsSectionOrBuilder> getGdsListOrBuilderList()
GDS factored out
repeated .Grib1GdsSection gdsList = 2;
- Specified by:
getGdsListOrBuilderList
in 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:
getRecordsList
in interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getRecordsCount
public int getRecordsCount()
repeated .Grib1Record records = 3;
- Specified by:
getRecordsCount
in interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getRecords
public Grib1IndexProto.Grib1Record getRecords(int index)
repeated .Grib1Record records = 3;
- Specified by:
getRecords
in 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:
getRecordsOrBuilder
in interfaceGrib1IndexProto.Grib1IndexOrBuilder
-
getRecordsOrBuilderList
public List<? extends Grib1IndexProto.Grib1RecordOrBuilder> getRecordsOrBuilderList()
repeated .Grib1Record records = 3;
- Specified by:
getRecordsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Grib1IndexProto.Grib1Index.Builder>
-
mergeUnknownFields
public final Grib1IndexProto.Grib1Index.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.Grib1Index.Builder>
-
-