Package ucar.nc2.grib.collection
Class GribCollectionProto.Group.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Group.Builder>
-
- ucar.nc2.grib.collection.GribCollectionProto.Group.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GribCollectionProto.GroupOrBuilder
- Enclosing class:
- GribCollectionProto.Group
public static final class GribCollectionProto.Group.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Group.Builder> implements GribCollectionProto.GroupOrBuilder
Protobuf typeGroup
-
-
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.Group.Builder>
-
clear
public GribCollectionProto.Group.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.Group.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.Group.Builder>
-
getDefaultInstanceForType
public GribCollectionProto.Group getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GribCollectionProto.Group build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GribCollectionProto.Group buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GribCollectionProto.Group.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.Group.Builder>
-
mergeFrom
public GribCollectionProto.Group.Builder mergeFrom(GribCollectionProto.Group other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Group.Builder>
-
mergeFrom
public GribCollectionProto.Group.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.Group.Builder>
- Throws:
IOException
-
hasGds
public boolean hasGds()
use this to build the HorizCoordSys
.Gds gds = 1;
- Specified by:
hasGds
in interfaceGribCollectionProto.GroupOrBuilder
- Returns:
- Whether the gds field is set.
-
getGds
public GribCollectionProto.Gds getGds()
use this to build the HorizCoordSys
.Gds gds = 1;
- Specified by:
getGds
in interfaceGribCollectionProto.GroupOrBuilder
- Returns:
- The gds.
-
setGds
public GribCollectionProto.Group.Builder setGds(GribCollectionProto.Gds value)
use this to build the HorizCoordSys
.Gds gds = 1;
-
setGds
public GribCollectionProto.Group.Builder setGds(GribCollectionProto.Gds.Builder builderForValue)
use this to build the HorizCoordSys
.Gds gds = 1;
-
mergeGds
public GribCollectionProto.Group.Builder mergeGds(GribCollectionProto.Gds value)
use this to build the HorizCoordSys
.Gds gds = 1;
-
clearGds
public GribCollectionProto.Group.Builder clearGds()
use this to build the HorizCoordSys
.Gds gds = 1;
-
getGdsBuilder
public GribCollectionProto.Gds.Builder getGdsBuilder()
use this to build the HorizCoordSys
.Gds gds = 1;
-
getGdsOrBuilder
public GribCollectionProto.GdsOrBuilder getGdsOrBuilder()
use this to build the HorizCoordSys
.Gds gds = 1;
- Specified by:
getGdsOrBuilder
in interfaceGribCollectionProto.GroupOrBuilder
-
getVariablesList
public List<GribCollectionProto.Variable> getVariablesList()
list of variables
repeated .Variable variables = 2;
- Specified by:
getVariablesList
in interfaceGribCollectionProto.GroupOrBuilder
-
getVariablesCount
public int getVariablesCount()
list of variables
repeated .Variable variables = 2;
- Specified by:
getVariablesCount
in interfaceGribCollectionProto.GroupOrBuilder
-
getVariables
public GribCollectionProto.Variable getVariables(int index)
list of variables
repeated .Variable variables = 2;
- Specified by:
getVariables
in interfaceGribCollectionProto.GroupOrBuilder
-
setVariables
public GribCollectionProto.Group.Builder setVariables(int index, GribCollectionProto.Variable value)
list of variables
repeated .Variable variables = 2;
-
setVariables
public GribCollectionProto.Group.Builder setVariables(int index, GribCollectionProto.Variable.Builder builderForValue)
list of variables
repeated .Variable variables = 2;
-
addVariables
public GribCollectionProto.Group.Builder addVariables(GribCollectionProto.Variable value)
list of variables
repeated .Variable variables = 2;
-
addVariables
public GribCollectionProto.Group.Builder addVariables(int index, GribCollectionProto.Variable value)
list of variables
repeated .Variable variables = 2;
-
addVariables
public GribCollectionProto.Group.Builder addVariables(GribCollectionProto.Variable.Builder builderForValue)
list of variables
repeated .Variable variables = 2;
-
addVariables
public GribCollectionProto.Group.Builder addVariables(int index, GribCollectionProto.Variable.Builder builderForValue)
list of variables
repeated .Variable variables = 2;
-
addAllVariables
public GribCollectionProto.Group.Builder addAllVariables(Iterable<? extends GribCollectionProto.Variable> values)
list of variables
repeated .Variable variables = 2;
-
clearVariables
public GribCollectionProto.Group.Builder clearVariables()
list of variables
repeated .Variable variables = 2;
-
removeVariables
public GribCollectionProto.Group.Builder removeVariables(int index)
list of variables
repeated .Variable variables = 2;
-
getVariablesBuilder
public GribCollectionProto.Variable.Builder getVariablesBuilder(int index)
list of variables
repeated .Variable variables = 2;
-
getVariablesOrBuilder
public GribCollectionProto.VariableOrBuilder getVariablesOrBuilder(int index)
list of variables
repeated .Variable variables = 2;
- Specified by:
getVariablesOrBuilder
in interfaceGribCollectionProto.GroupOrBuilder
-
getVariablesOrBuilderList
public List<? extends GribCollectionProto.VariableOrBuilder> getVariablesOrBuilderList()
list of variables
repeated .Variable variables = 2;
- Specified by:
getVariablesOrBuilderList
in interfaceGribCollectionProto.GroupOrBuilder
-
addVariablesBuilder
public GribCollectionProto.Variable.Builder addVariablesBuilder()
list of variables
repeated .Variable variables = 2;
-
addVariablesBuilder
public GribCollectionProto.Variable.Builder addVariablesBuilder(int index)
list of variables
repeated .Variable variables = 2;
-
getVariablesBuilderList
public List<GribCollectionProto.Variable.Builder> getVariablesBuilderList()
list of variables
repeated .Variable variables = 2;
-
getCoordsList
public List<GribCollectionProto.Coord> getCoordsList()
list of coordinates
repeated .Coord coords = 3;
- Specified by:
getCoordsList
in interfaceGribCollectionProto.GroupOrBuilder
-
getCoordsCount
public int getCoordsCount()
list of coordinates
repeated .Coord coords = 3;
- Specified by:
getCoordsCount
in interfaceGribCollectionProto.GroupOrBuilder
-
getCoords
public GribCollectionProto.Coord getCoords(int index)
list of coordinates
repeated .Coord coords = 3;
- Specified by:
getCoords
in interfaceGribCollectionProto.GroupOrBuilder
-
setCoords
public GribCollectionProto.Group.Builder setCoords(int index, GribCollectionProto.Coord value)
list of coordinates
repeated .Coord coords = 3;
-
setCoords
public GribCollectionProto.Group.Builder setCoords(int index, GribCollectionProto.Coord.Builder builderForValue)
list of coordinates
repeated .Coord coords = 3;
-
addCoords
public GribCollectionProto.Group.Builder addCoords(GribCollectionProto.Coord value)
list of coordinates
repeated .Coord coords = 3;
-
addCoords
public GribCollectionProto.Group.Builder addCoords(int index, GribCollectionProto.Coord value)
list of coordinates
repeated .Coord coords = 3;
-
addCoords
public GribCollectionProto.Group.Builder addCoords(GribCollectionProto.Coord.Builder builderForValue)
list of coordinates
repeated .Coord coords = 3;
-
addCoords
public GribCollectionProto.Group.Builder addCoords(int index, GribCollectionProto.Coord.Builder builderForValue)
list of coordinates
repeated .Coord coords = 3;
-
addAllCoords
public GribCollectionProto.Group.Builder addAllCoords(Iterable<? extends GribCollectionProto.Coord> values)
list of coordinates
repeated .Coord coords = 3;
-
clearCoords
public GribCollectionProto.Group.Builder clearCoords()
list of coordinates
repeated .Coord coords = 3;
-
removeCoords
public GribCollectionProto.Group.Builder removeCoords(int index)
list of coordinates
repeated .Coord coords = 3;
-
getCoordsBuilder
public GribCollectionProto.Coord.Builder getCoordsBuilder(int index)
list of coordinates
repeated .Coord coords = 3;
-
getCoordsOrBuilder
public GribCollectionProto.CoordOrBuilder getCoordsOrBuilder(int index)
list of coordinates
repeated .Coord coords = 3;
- Specified by:
getCoordsOrBuilder
in interfaceGribCollectionProto.GroupOrBuilder
-
getCoordsOrBuilderList
public List<? extends GribCollectionProto.CoordOrBuilder> getCoordsOrBuilderList()
list of coordinates
repeated .Coord coords = 3;
- Specified by:
getCoordsOrBuilderList
in interfaceGribCollectionProto.GroupOrBuilder
-
addCoordsBuilder
public GribCollectionProto.Coord.Builder addCoordsBuilder()
list of coordinates
repeated .Coord coords = 3;
-
addCoordsBuilder
public GribCollectionProto.Coord.Builder addCoordsBuilder(int index)
list of coordinates
repeated .Coord coords = 3;
-
getCoordsBuilderList
public List<GribCollectionProto.Coord.Builder> getCoordsBuilderList()
list of coordinates
repeated .Coord coords = 3;
-
getFilenoList
public List<Integer> getFilenoList()
the component files that are in this group, key into gc.mfiles
repeated uint32 fileno = 4 [packed = true];
- Specified by:
getFilenoList
in interfaceGribCollectionProto.GroupOrBuilder
- Returns:
- A list containing the fileno.
-
getFilenoCount
public int getFilenoCount()
the component files that are in this group, key into gc.mfiles
repeated uint32 fileno = 4 [packed = true];
- Specified by:
getFilenoCount
in interfaceGribCollectionProto.GroupOrBuilder
- Returns:
- The count of fileno.
-
getFileno
public int getFileno(int index)
the component files that are in this group, key into gc.mfiles
repeated uint32 fileno = 4 [packed = true];
- Specified by:
getFileno
in interfaceGribCollectionProto.GroupOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The fileno at the given index.
-
setFileno
public GribCollectionProto.Group.Builder setFileno(int index, int value)
the component files that are in this group, key into gc.mfiles
repeated uint32 fileno = 4 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The fileno to set.- Returns:
- This builder for chaining.
-
addFileno
public GribCollectionProto.Group.Builder addFileno(int value)
the component files that are in this group, key into gc.mfiles
repeated uint32 fileno = 4 [packed = true];
- Parameters:
value
- The fileno to add.- Returns:
- This builder for chaining.
-
addAllFileno
public GribCollectionProto.Group.Builder addAllFileno(Iterable<? extends Integer> values)
the component files that are in this group, key into gc.mfiles
repeated uint32 fileno = 4 [packed = true];
- Parameters:
values
- The fileno to add.- Returns:
- This builder for chaining.
-
clearFileno
public GribCollectionProto.Group.Builder clearFileno()
the component files that are in this group, key into gc.mfiles
repeated uint32 fileno = 4 [packed = true];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GribCollectionProto.Group.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.Group.Builder>
-
mergeUnknownFields
public final GribCollectionProto.Group.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.Group.Builder>
-
-