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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Grib2IndexProto.Grib2Index.Builder>
-
clear
public Grib2IndexProto.Grib2Index.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<Grib2IndexProto.Grib2Index.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<Grib2IndexProto.Grib2Index.Builder>
-
getDefaultInstanceForType
public Grib2IndexProto.Grib2Index getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Grib2IndexProto.Grib2Index build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Grib2IndexProto.Grib2Index buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Grib2IndexProto.Grib2Index.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Grib2IndexProto.Grib2Index.Builder>
-
mergeFrom
public Grib2IndexProto.Grib2Index.Builder mergeFrom(Grib2IndexProto.Grib2Index other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Grib2IndexProto.Grib2Index.Builder>
- Throws:
IOException
-
hasFilename
public boolean hasFilename()
required string filename = 1;
- Specified by:
hasFilename
in interfaceGrib2IndexProto.Grib2IndexOrBuilder
- Returns:
- Whether the filename field is set.
-
getFilename
public String getFilename()
required string filename = 1;
- Specified by:
getFilename
in interfaceGrib2IndexProto.Grib2IndexOrBuilder
- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()
required string filename = 1;
- Specified by:
getFilenameBytes
in 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:
getGdsListList
in interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getGdsListCount
public int getGdsListCount()
GDS factored out
repeated .GribGdsSection gdsList = 2;
- Specified by:
getGdsListCount
in interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getGdsList
public Grib2IndexProto.GribGdsSection getGdsList(int index)
GDS factored out
repeated .GribGdsSection gdsList = 2;
- Specified by:
getGdsList
in 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:
getGdsListOrBuilder
in interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getGdsListOrBuilderList
public List<? extends Grib2IndexProto.GribGdsSectionOrBuilder> getGdsListOrBuilderList()
GDS factored out
repeated .GribGdsSection gdsList = 2;
- Specified by:
getGdsListOrBuilderList
in 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:
getRecordsList
in interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getRecordsCount
public int getRecordsCount()
repeated .Grib2Record records = 3;
- Specified by:
getRecordsCount
in interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getRecords
public Grib2IndexProto.Grib2Record getRecords(int index)
repeated .Grib2Record records = 3;
- Specified by:
getRecords
in 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:
getRecordsOrBuilder
in interfaceGrib2IndexProto.Grib2IndexOrBuilder
-
getRecordsOrBuilderList
public List<? extends Grib2IndexProto.Grib2RecordOrBuilder> getRecordsOrBuilderList()
repeated .Grib2Record records = 3;
- Specified by:
getRecordsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Grib2IndexProto.Grib2Index.Builder>
-
mergeUnknownFields
public final Grib2IndexProto.Grib2Index.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Grib2IndexProto.Grib2Index.Builder>
-
-