Package ucar.nc2.grib.collection
Class GribCollectionProto.GribCollection.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.GribCollection.Builder>
-
- ucar.nc2.grib.collection.GribCollectionProto.GribCollection.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GribCollectionProto.GribCollectionOrBuilder
- Enclosing class:
- GribCollectionProto.GribCollection
public static final class GribCollectionProto.GribCollection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.GribCollection.Builder> implements GribCollectionProto.GribCollectionOrBuilder
Protobuf typeGribCollection
-
-
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<GribCollectionProto.GribCollection.Builder>
-
clear
public GribCollectionProto.GribCollection.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.GribCollection.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.GribCollection.Builder>
-
getDefaultInstanceForType
public GribCollectionProto.GribCollection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GribCollectionProto.GribCollection build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GribCollectionProto.GribCollection buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GribCollectionProto.GribCollection.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.GribCollection.Builder>
-
mergeFrom
public GribCollectionProto.GribCollection.Builder mergeFrom(GribCollectionProto.GribCollection other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.GribCollection.Builder>
-
mergeFrom
public GribCollectionProto.GribCollection.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.GribCollection.Builder>
- Throws:
IOException
-
getName
public String getName()
must be unique - index filename is name.ncx
string name = 1;
- Specified by:
getName
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
must be unique - index filename is name.ncx
string name = 1;
- Specified by:
getNameBytes
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The bytes for name.
-
setName
public GribCollectionProto.GribCollection.Builder setName(String value)
must be unique - index filename is name.ncx
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public GribCollectionProto.GribCollection.Builder clearName()
must be unique - index filename is name.ncx
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public GribCollectionProto.GribCollection.Builder setNameBytes(com.google.protobuf.ByteString value)
must be unique - index filename is name.ncx
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getTopDir
public String getTopDir()
MFile, Partition filenames are relative to this
string topDir = 2;
- Specified by:
getTopDir
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The topDir.
-
getTopDirBytes
public com.google.protobuf.ByteString getTopDirBytes()
MFile, Partition filenames are relative to this
string topDir = 2;
- Specified by:
getTopDirBytes
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The bytes for topDir.
-
setTopDir
public GribCollectionProto.GribCollection.Builder setTopDir(String value)
MFile, Partition filenames are relative to this
string topDir = 2;
- Parameters:
value
- The topDir to set.- Returns:
- This builder for chaining.
-
clearTopDir
public GribCollectionProto.GribCollection.Builder clearTopDir()
MFile, Partition filenames are relative to this
string topDir = 2;
- Returns:
- This builder for chaining.
-
setTopDirBytes
public GribCollectionProto.GribCollection.Builder setTopDirBytes(com.google.protobuf.ByteString value)
MFile, Partition filenames are relative to this
string topDir = 2;
- Parameters:
value
- The bytes for topDir to set.- Returns:
- This builder for chaining.
-
getMfilesList
public List<GribCollectionProto.MFile> getMfilesList()
list of grib MFiles
repeated .MFile mfiles = 3;
- Specified by:
getMfilesList
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getMfilesCount
public int getMfilesCount()
list of grib MFiles
repeated .MFile mfiles = 3;
- Specified by:
getMfilesCount
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getMfiles
public GribCollectionProto.MFile getMfiles(int index)
list of grib MFiles
repeated .MFile mfiles = 3;
- Specified by:
getMfiles
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
setMfiles
public GribCollectionProto.GribCollection.Builder setMfiles(int index, GribCollectionProto.MFile value)
list of grib MFiles
repeated .MFile mfiles = 3;
-
setMfiles
public GribCollectionProto.GribCollection.Builder setMfiles(int index, GribCollectionProto.MFile.Builder builderForValue)
list of grib MFiles
repeated .MFile mfiles = 3;
-
addMfiles
public GribCollectionProto.GribCollection.Builder addMfiles(GribCollectionProto.MFile value)
list of grib MFiles
repeated .MFile mfiles = 3;
-
addMfiles
public GribCollectionProto.GribCollection.Builder addMfiles(int index, GribCollectionProto.MFile value)
list of grib MFiles
repeated .MFile mfiles = 3;
-
addMfiles
public GribCollectionProto.GribCollection.Builder addMfiles(GribCollectionProto.MFile.Builder builderForValue)
list of grib MFiles
repeated .MFile mfiles = 3;
-
addMfiles
public GribCollectionProto.GribCollection.Builder addMfiles(int index, GribCollectionProto.MFile.Builder builderForValue)
list of grib MFiles
repeated .MFile mfiles = 3;
-
addAllMfiles
public GribCollectionProto.GribCollection.Builder addAllMfiles(Iterable<? extends GribCollectionProto.MFile> values)
list of grib MFiles
repeated .MFile mfiles = 3;
-
clearMfiles
public GribCollectionProto.GribCollection.Builder clearMfiles()
list of grib MFiles
repeated .MFile mfiles = 3;
-
removeMfiles
public GribCollectionProto.GribCollection.Builder removeMfiles(int index)
list of grib MFiles
repeated .MFile mfiles = 3;
-
getMfilesBuilder
public GribCollectionProto.MFile.Builder getMfilesBuilder(int index)
list of grib MFiles
repeated .MFile mfiles = 3;
-
getMfilesOrBuilder
public GribCollectionProto.MFileOrBuilder getMfilesOrBuilder(int index)
list of grib MFiles
repeated .MFile mfiles = 3;
- Specified by:
getMfilesOrBuilder
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getMfilesOrBuilderList
public List<? extends GribCollectionProto.MFileOrBuilder> getMfilesOrBuilderList()
list of grib MFiles
repeated .MFile mfiles = 3;
- Specified by:
getMfilesOrBuilderList
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
addMfilesBuilder
public GribCollectionProto.MFile.Builder addMfilesBuilder()
list of grib MFiles
repeated .MFile mfiles = 3;
-
addMfilesBuilder
public GribCollectionProto.MFile.Builder addMfilesBuilder(int index)
list of grib MFiles
repeated .MFile mfiles = 3;
-
getMfilesBuilderList
public List<GribCollectionProto.MFile.Builder> getMfilesBuilderList()
list of grib MFiles
repeated .MFile mfiles = 3;
-
getDatasetList
public List<GribCollectionProto.Dataset> getDatasetList()
repeated .Dataset dataset = 4;
- Specified by:
getDatasetList
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getDatasetCount
public int getDatasetCount()
repeated .Dataset dataset = 4;
- Specified by:
getDatasetCount
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getDataset
public GribCollectionProto.Dataset getDataset(int index)
repeated .Dataset dataset = 4;
- Specified by:
getDataset
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
setDataset
public GribCollectionProto.GribCollection.Builder setDataset(int index, GribCollectionProto.Dataset value)
repeated .Dataset dataset = 4;
-
setDataset
public GribCollectionProto.GribCollection.Builder setDataset(int index, GribCollectionProto.Dataset.Builder builderForValue)
repeated .Dataset dataset = 4;
-
addDataset
public GribCollectionProto.GribCollection.Builder addDataset(GribCollectionProto.Dataset value)
repeated .Dataset dataset = 4;
-
addDataset
public GribCollectionProto.GribCollection.Builder addDataset(int index, GribCollectionProto.Dataset value)
repeated .Dataset dataset = 4;
-
addDataset
public GribCollectionProto.GribCollection.Builder addDataset(GribCollectionProto.Dataset.Builder builderForValue)
repeated .Dataset dataset = 4;
-
addDataset
public GribCollectionProto.GribCollection.Builder addDataset(int index, GribCollectionProto.Dataset.Builder builderForValue)
repeated .Dataset dataset = 4;
-
addAllDataset
public GribCollectionProto.GribCollection.Builder addAllDataset(Iterable<? extends GribCollectionProto.Dataset> values)
repeated .Dataset dataset = 4;
-
clearDataset
public GribCollectionProto.GribCollection.Builder clearDataset()
repeated .Dataset dataset = 4;
-
removeDataset
public GribCollectionProto.GribCollection.Builder removeDataset(int index)
repeated .Dataset dataset = 4;
-
getDatasetBuilder
public GribCollectionProto.Dataset.Builder getDatasetBuilder(int index)
repeated .Dataset dataset = 4;
-
getDatasetOrBuilder
public GribCollectionProto.DatasetOrBuilder getDatasetOrBuilder(int index)
repeated .Dataset dataset = 4;
- Specified by:
getDatasetOrBuilder
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getDatasetOrBuilderList
public List<? extends GribCollectionProto.DatasetOrBuilder> getDatasetOrBuilderList()
repeated .Dataset dataset = 4;
- Specified by:
getDatasetOrBuilderList
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
addDatasetBuilder
public GribCollectionProto.Dataset.Builder addDatasetBuilder()
repeated .Dataset dataset = 4;
-
addDatasetBuilder
public GribCollectionProto.Dataset.Builder addDatasetBuilder(int index)
repeated .Dataset dataset = 4;
-
getDatasetBuilderList
public List<GribCollectionProto.Dataset.Builder> getDatasetBuilderList()
repeated .Dataset dataset = 4;
-
getGdsList
public List<GribCollectionProto.Gds> getGdsList()
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
- Specified by:
getGdsList
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getGdsCount
public int getGdsCount()
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
- Specified by:
getGdsCount
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getGds
public GribCollectionProto.Gds getGds(int index)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
- Specified by:
getGds
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
setGds
public GribCollectionProto.GribCollection.Builder setGds(int index, GribCollectionProto.Gds value)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
setGds
public GribCollectionProto.GribCollection.Builder setGds(int index, GribCollectionProto.Gds.Builder builderForValue)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
addGds
public GribCollectionProto.GribCollection.Builder addGds(GribCollectionProto.Gds value)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
addGds
public GribCollectionProto.GribCollection.Builder addGds(int index, GribCollectionProto.Gds value)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
addGds
public GribCollectionProto.GribCollection.Builder addGds(GribCollectionProto.Gds.Builder builderForValue)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
addGds
public GribCollectionProto.GribCollection.Builder addGds(int index, GribCollectionProto.Gds.Builder builderForValue)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
addAllGds
public GribCollectionProto.GribCollection.Builder addAllGds(Iterable<? extends GribCollectionProto.Gds> values)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
clearGds
public GribCollectionProto.GribCollection.Builder clearGds()
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
removeGds
public GribCollectionProto.GribCollection.Builder removeGds(int index)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
getGdsBuilder
public GribCollectionProto.Gds.Builder getGdsBuilder(int index)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
getGdsOrBuilder
public GribCollectionProto.GdsOrBuilder getGdsOrBuilder(int index)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
- Specified by:
getGdsOrBuilder
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getGdsOrBuilderList
public List<? extends GribCollectionProto.GdsOrBuilder> getGdsOrBuilderList()
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
- Specified by:
getGdsOrBuilderList
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
addGdsBuilder
public GribCollectionProto.Gds.Builder addGdsBuilder()
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
addGdsBuilder
public GribCollectionProto.Gds.Builder addGdsBuilder(int index)
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
getGdsBuilderList
public List<GribCollectionProto.Gds.Builder> getGdsBuilderList()
unique Gds, shared amongst datasets
repeated .Gds gds = 5;
-
hasMasterRuntime
public boolean hasMasterRuntime()
list of runtimes in this GC
.Coord masterRuntime = 6;
- Specified by:
hasMasterRuntime
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- Whether the masterRuntime field is set.
-
getMasterRuntime
public GribCollectionProto.Coord getMasterRuntime()
list of runtimes in this GC
.Coord masterRuntime = 6;
- Specified by:
getMasterRuntime
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The masterRuntime.
-
setMasterRuntime
public GribCollectionProto.GribCollection.Builder setMasterRuntime(GribCollectionProto.Coord value)
list of runtimes in this GC
.Coord masterRuntime = 6;
-
setMasterRuntime
public GribCollectionProto.GribCollection.Builder setMasterRuntime(GribCollectionProto.Coord.Builder builderForValue)
list of runtimes in this GC
.Coord masterRuntime = 6;
-
mergeMasterRuntime
public GribCollectionProto.GribCollection.Builder mergeMasterRuntime(GribCollectionProto.Coord value)
list of runtimes in this GC
.Coord masterRuntime = 6;
-
clearMasterRuntime
public GribCollectionProto.GribCollection.Builder clearMasterRuntime()
list of runtimes in this GC
.Coord masterRuntime = 6;
-
getMasterRuntimeBuilder
public GribCollectionProto.Coord.Builder getMasterRuntimeBuilder()
list of runtimes in this GC
.Coord masterRuntime = 6;
-
getMasterRuntimeOrBuilder
public GribCollectionProto.CoordOrBuilder getMasterRuntimeOrBuilder()
list of runtimes in this GC
.Coord masterRuntime = 6;
- Specified by:
getMasterRuntimeOrBuilder
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getCenter
public int getCenter()
LOOK these are taken from first record; not storing variants (!)
int32 center = 7;
- Specified by:
getCenter
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The center.
-
setCenter
public GribCollectionProto.GribCollection.Builder setCenter(int value)
LOOK these are taken from first record; not storing variants (!)
int32 center = 7;
- Parameters:
value
- The center to set.- Returns:
- This builder for chaining.
-
clearCenter
public GribCollectionProto.GribCollection.Builder clearCenter()
LOOK these are taken from first record; not storing variants (!)
int32 center = 7;
- Returns:
- This builder for chaining.
-
getSubcenter
public int getSubcenter()
int32 subcenter = 8;
- Specified by:
getSubcenter
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The subcenter.
-
setSubcenter
public GribCollectionProto.GribCollection.Builder setSubcenter(int value)
int32 subcenter = 8;
- Parameters:
value
- The subcenter to set.- Returns:
- This builder for chaining.
-
clearSubcenter
public GribCollectionProto.GribCollection.Builder clearSubcenter()
int32 subcenter = 8;
- Returns:
- This builder for chaining.
-
getMaster
public int getMaster()
int32 master = 9;
- Specified by:
getMaster
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The master.
-
setMaster
public GribCollectionProto.GribCollection.Builder setMaster(int value)
int32 master = 9;
- Parameters:
value
- The master to set.- Returns:
- This builder for chaining.
-
clearMaster
public GribCollectionProto.GribCollection.Builder clearMaster()
int32 master = 9;
- Returns:
- This builder for chaining.
-
getLocal
public int getLocal()
grib1 table Version
int32 local = 10;
- Specified by:
getLocal
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The local.
-
setLocal
public GribCollectionProto.GribCollection.Builder setLocal(int value)
grib1 table Version
int32 local = 10;
- Parameters:
value
- The local to set.- Returns:
- This builder for chaining.
-
clearLocal
public GribCollectionProto.GribCollection.Builder clearLocal()
grib1 table Version
int32 local = 10;
- Returns:
- This builder for chaining.
-
getGenProcessType
public int getGenProcessType()
int32 genProcessType = 11;
- Specified by:
getGenProcessType
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The genProcessType.
-
setGenProcessType
public GribCollectionProto.GribCollection.Builder setGenProcessType(int value)
int32 genProcessType = 11;
- Parameters:
value
- The genProcessType to set.- Returns:
- This builder for chaining.
-
clearGenProcessType
public GribCollectionProto.GribCollection.Builder clearGenProcessType()
int32 genProcessType = 11;
- Returns:
- This builder for chaining.
-
getGenProcessId
public int getGenProcessId()
int32 genProcessId = 12;
- Specified by:
getGenProcessId
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The genProcessId.
-
setGenProcessId
public GribCollectionProto.GribCollection.Builder setGenProcessId(int value)
int32 genProcessId = 12;
- Parameters:
value
- The genProcessId to set.- Returns:
- This builder for chaining.
-
clearGenProcessId
public GribCollectionProto.GribCollection.Builder clearGenProcessId()
int32 genProcessId = 12;
- Returns:
- This builder for chaining.
-
getBackProcessId
public int getBackProcessId()
int32 backProcessId = 13;
- Specified by:
getBackProcessId
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The backProcessId.
-
setBackProcessId
public GribCollectionProto.GribCollection.Builder setBackProcessId(int value)
int32 backProcessId = 13;
- Parameters:
value
- The backProcessId to set.- Returns:
- This builder for chaining.
-
clearBackProcessId
public GribCollectionProto.GribCollection.Builder clearBackProcessId()
int32 backProcessId = 13;
- Returns:
- This builder for chaining.
-
getVersion
public int getVersion()
>= 3 for proto3 (5.0+)
int32 version = 14;
- Specified by:
getVersion
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The version.
-
setVersion
public GribCollectionProto.GribCollection.Builder setVersion(int value)
>= 3 for proto3 (5.0+)
int32 version = 14;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public GribCollectionProto.GribCollection.Builder clearVersion()
>= 3 for proto3 (5.0+)
int32 version = 14;
- Returns:
- This builder for chaining.
-
hasConfig
public boolean hasConfig()
repeated Parameter params = 20; // not used
.FcConfig config = 21;
- Specified by:
hasConfig
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- Whether the config field is set.
-
getConfig
public GribCollectionProto.FcConfig getConfig()
repeated Parameter params = 20; // not used
.FcConfig config = 21;
- Specified by:
getConfig
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The config.
-
setConfig
public GribCollectionProto.GribCollection.Builder setConfig(GribCollectionProto.FcConfig value)
repeated Parameter params = 20; // not used
.FcConfig config = 21;
-
setConfig
public GribCollectionProto.GribCollection.Builder setConfig(GribCollectionProto.FcConfig.Builder builderForValue)
repeated Parameter params = 20; // not used
.FcConfig config = 21;
-
mergeConfig
public GribCollectionProto.GribCollection.Builder mergeConfig(GribCollectionProto.FcConfig value)
repeated Parameter params = 20; // not used
.FcConfig config = 21;
-
clearConfig
public GribCollectionProto.GribCollection.Builder clearConfig()
repeated Parameter params = 20; // not used
.FcConfig config = 21;
-
getConfigBuilder
public GribCollectionProto.FcConfig.Builder getConfigBuilder()
repeated Parameter params = 20; // not used
.FcConfig config = 21;
-
getConfigOrBuilder
public GribCollectionProto.FcConfigOrBuilder getConfigOrBuilder()
repeated Parameter params = 20; // not used
.FcConfig config = 21;
- Specified by:
getConfigOrBuilder
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getStartTime
public long getStartTime()
calendar date, first valid time
uint64 startTime = 22;
- Specified by:
getStartTime
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The startTime.
-
setStartTime
public GribCollectionProto.GribCollection.Builder setStartTime(long value)
calendar date, first valid time
uint64 startTime = 22;
- Parameters:
value
- The startTime to set.- Returns:
- This builder for chaining.
-
clearStartTime
public GribCollectionProto.GribCollection.Builder clearStartTime()
calendar date, first valid time
uint64 startTime = 22;
- Returns:
- This builder for chaining.
-
getEndTime
public long getEndTime()
calendar date, last valid time
uint64 endTime = 23;
- Specified by:
getEndTime
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The endTime.
-
setEndTime
public GribCollectionProto.GribCollection.Builder setEndTime(long value)
calendar date, last valid time
uint64 endTime = 23;
- Parameters:
value
- The endTime to set.- Returns:
- This builder for chaining.
-
clearEndTime
public GribCollectionProto.GribCollection.Builder clearEndTime()
calendar date, last valid time
uint64 endTime = 23;
- Returns:
- This builder for chaining.
-
getPartitionsList
public List<GribCollectionProto.Partition> getPartitionsList()
extensions
repeated .Partition partitions = 100;
- Specified by:
getPartitionsList
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getPartitionsCount
public int getPartitionsCount()
extensions
repeated .Partition partitions = 100;
- Specified by:
getPartitionsCount
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getPartitions
public GribCollectionProto.Partition getPartitions(int index)
extensions
repeated .Partition partitions = 100;
- Specified by:
getPartitions
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
setPartitions
public GribCollectionProto.GribCollection.Builder setPartitions(int index, GribCollectionProto.Partition value)
extensions
repeated .Partition partitions = 100;
-
setPartitions
public GribCollectionProto.GribCollection.Builder setPartitions(int index, GribCollectionProto.Partition.Builder builderForValue)
extensions
repeated .Partition partitions = 100;
-
addPartitions
public GribCollectionProto.GribCollection.Builder addPartitions(GribCollectionProto.Partition value)
extensions
repeated .Partition partitions = 100;
-
addPartitions
public GribCollectionProto.GribCollection.Builder addPartitions(int index, GribCollectionProto.Partition value)
extensions
repeated .Partition partitions = 100;
-
addPartitions
public GribCollectionProto.GribCollection.Builder addPartitions(GribCollectionProto.Partition.Builder builderForValue)
extensions
repeated .Partition partitions = 100;
-
addPartitions
public GribCollectionProto.GribCollection.Builder addPartitions(int index, GribCollectionProto.Partition.Builder builderForValue)
extensions
repeated .Partition partitions = 100;
-
addAllPartitions
public GribCollectionProto.GribCollection.Builder addAllPartitions(Iterable<? extends GribCollectionProto.Partition> values)
extensions
repeated .Partition partitions = 100;
-
clearPartitions
public GribCollectionProto.GribCollection.Builder clearPartitions()
extensions
repeated .Partition partitions = 100;
-
removePartitions
public GribCollectionProto.GribCollection.Builder removePartitions(int index)
extensions
repeated .Partition partitions = 100;
-
getPartitionsBuilder
public GribCollectionProto.Partition.Builder getPartitionsBuilder(int index)
extensions
repeated .Partition partitions = 100;
-
getPartitionsOrBuilder
public GribCollectionProto.PartitionOrBuilder getPartitionsOrBuilder(int index)
extensions
repeated .Partition partitions = 100;
- Specified by:
getPartitionsOrBuilder
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
getPartitionsOrBuilderList
public List<? extends GribCollectionProto.PartitionOrBuilder> getPartitionsOrBuilderList()
extensions
repeated .Partition partitions = 100;
- Specified by:
getPartitionsOrBuilderList
in interfaceGribCollectionProto.GribCollectionOrBuilder
-
addPartitionsBuilder
public GribCollectionProto.Partition.Builder addPartitionsBuilder()
extensions
repeated .Partition partitions = 100;
-
addPartitionsBuilder
public GribCollectionProto.Partition.Builder addPartitionsBuilder(int index)
extensions
repeated .Partition partitions = 100;
-
getPartitionsBuilderList
public List<GribCollectionProto.Partition.Builder> getPartitionsBuilderList()
extensions
repeated .Partition partitions = 100;
-
getIsPartitionOfPartitions
public boolean getIsPartitionOfPartitions()
bool isPartitionOfPartitions = 101;
- Specified by:
getIsPartitionOfPartitions
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The isPartitionOfPartitions.
-
setIsPartitionOfPartitions
public GribCollectionProto.GribCollection.Builder setIsPartitionOfPartitions(boolean value)
bool isPartitionOfPartitions = 101;
- Parameters:
value
- The isPartitionOfPartitions to set.- Returns:
- This builder for chaining.
-
clearIsPartitionOfPartitions
public GribCollectionProto.GribCollection.Builder clearIsPartitionOfPartitions()
bool isPartitionOfPartitions = 101;
- Returns:
- This builder for chaining.
-
getRun2PartList
public List<Integer> getRun2PartList()
masterRuntime index to partition index
repeated uint32 run2part = 102 [packed = true];
- Specified by:
getRun2PartList
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- A list containing the run2part.
-
getRun2PartCount
public int getRun2PartCount()
masterRuntime index to partition index
repeated uint32 run2part = 102 [packed = true];
- Specified by:
getRun2PartCount
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Returns:
- The count of run2part.
-
getRun2Part
public int getRun2Part(int index)
masterRuntime index to partition index
repeated uint32 run2part = 102 [packed = true];
- Specified by:
getRun2Part
in interfaceGribCollectionProto.GribCollectionOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The run2part at the given index.
-
setRun2Part
public GribCollectionProto.GribCollection.Builder setRun2Part(int index, int value)
masterRuntime index to partition index
repeated uint32 run2part = 102 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The run2part to set.- Returns:
- This builder for chaining.
-
addRun2Part
public GribCollectionProto.GribCollection.Builder addRun2Part(int value)
masterRuntime index to partition index
repeated uint32 run2part = 102 [packed = true];
- Parameters:
value
- The run2part to add.- Returns:
- This builder for chaining.
-
addAllRun2Part
public GribCollectionProto.GribCollection.Builder addAllRun2Part(Iterable<? extends Integer> values)
masterRuntime index to partition index
repeated uint32 run2part = 102 [packed = true];
- Parameters:
values
- The run2part to add.- Returns:
- This builder for chaining.
-
clearRun2Part
public GribCollectionProto.GribCollection.Builder clearRun2Part()
masterRuntime index to partition index
repeated uint32 run2part = 102 [packed = true];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GribCollectionProto.GribCollection.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.GribCollection.Builder>
-
mergeUnknownFields
public final GribCollectionProto.GribCollection.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.GribCollection.Builder>
-
-