Package ucar.nc2.ft.point.bufr
Class BufrCdmIndexProto.BufrIndex.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BufrCdmIndexProto.BufrIndex.Builder>
-
- ucar.nc2.ft.point.bufr.BufrCdmIndexProto.BufrIndex.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,BufrCdmIndexProto.BufrIndexOrBuilder
- Enclosing class:
- BufrCdmIndexProto.BufrIndex
public static final class BufrCdmIndexProto.BufrIndex.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BufrCdmIndexProto.BufrIndex.Builder> implements BufrCdmIndexProto.BufrIndexOrBuilder
Protobuf typeBufrIndex
-
-
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<BufrCdmIndexProto.BufrIndex.Builder>
-
clear
public BufrCdmIndexProto.BufrIndex.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<BufrCdmIndexProto.BufrIndex.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<BufrCdmIndexProto.BufrIndex.Builder>
-
getDefaultInstanceForType
public BufrCdmIndexProto.BufrIndex getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BufrCdmIndexProto.BufrIndex build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BufrCdmIndexProto.BufrIndex buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public BufrCdmIndexProto.BufrIndex.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BufrCdmIndexProto.BufrIndex.Builder>
-
mergeFrom
public BufrCdmIndexProto.BufrIndex.Builder mergeFrom(BufrCdmIndexProto.BufrIndex other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BufrCdmIndexProto.BufrIndex.Builder>
-
mergeFrom
public BufrCdmIndexProto.BufrIndex.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<BufrCdmIndexProto.BufrIndex.Builder>
- Throws:
IOException
-
getFilename
public String getFilename()
string filename = 1;
- Specified by:
getFilename
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()
string filename = 1;
- Specified by:
getFilenameBytes
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
- Returns:
- The bytes for filename.
-
setFilename
public BufrCdmIndexProto.BufrIndex.Builder setFilename(String value)
string filename = 1;
- Parameters:
value
- The filename to set.- Returns:
- This builder for chaining.
-
clearFilename
public BufrCdmIndexProto.BufrIndex.Builder clearFilename()
string filename = 1;
- Returns:
- This builder for chaining.
-
setFilenameBytes
public BufrCdmIndexProto.BufrIndex.Builder setFilenameBytes(com.google.protobuf.ByteString value)
string filename = 1;
- Parameters:
value
- The bytes for filename to set.- Returns:
- This builder for chaining.
-
getStationsList
public List<BufrCdmIndexProto.Station> getStationsList()
repeated .Station stations = 2;
- Specified by:
getStationsList
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
-
getStationsCount
public int getStationsCount()
repeated .Station stations = 2;
- Specified by:
getStationsCount
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
-
getStations
public BufrCdmIndexProto.Station getStations(int index)
repeated .Station stations = 2;
- Specified by:
getStations
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
-
setStations
public BufrCdmIndexProto.BufrIndex.Builder setStations(int index, BufrCdmIndexProto.Station value)
repeated .Station stations = 2;
-
setStations
public BufrCdmIndexProto.BufrIndex.Builder setStations(int index, BufrCdmIndexProto.Station.Builder builderForValue)
repeated .Station stations = 2;
-
addStations
public BufrCdmIndexProto.BufrIndex.Builder addStations(BufrCdmIndexProto.Station value)
repeated .Station stations = 2;
-
addStations
public BufrCdmIndexProto.BufrIndex.Builder addStations(int index, BufrCdmIndexProto.Station value)
repeated .Station stations = 2;
-
addStations
public BufrCdmIndexProto.BufrIndex.Builder addStations(BufrCdmIndexProto.Station.Builder builderForValue)
repeated .Station stations = 2;
-
addStations
public BufrCdmIndexProto.BufrIndex.Builder addStations(int index, BufrCdmIndexProto.Station.Builder builderForValue)
repeated .Station stations = 2;
-
addAllStations
public BufrCdmIndexProto.BufrIndex.Builder addAllStations(Iterable<? extends BufrCdmIndexProto.Station> values)
repeated .Station stations = 2;
-
clearStations
public BufrCdmIndexProto.BufrIndex.Builder clearStations()
repeated .Station stations = 2;
-
removeStations
public BufrCdmIndexProto.BufrIndex.Builder removeStations(int index)
repeated .Station stations = 2;
-
getStationsBuilder
public BufrCdmIndexProto.Station.Builder getStationsBuilder(int index)
repeated .Station stations = 2;
-
getStationsOrBuilder
public BufrCdmIndexProto.StationOrBuilder getStationsOrBuilder(int index)
repeated .Station stations = 2;
- Specified by:
getStationsOrBuilder
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
-
getStationsOrBuilderList
public List<? extends BufrCdmIndexProto.StationOrBuilder> getStationsOrBuilderList()
repeated .Station stations = 2;
- Specified by:
getStationsOrBuilderList
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
-
addStationsBuilder
public BufrCdmIndexProto.Station.Builder addStationsBuilder()
repeated .Station stations = 2;
-
addStationsBuilder
public BufrCdmIndexProto.Station.Builder addStationsBuilder(int index)
repeated .Station stations = 2;
-
getStationsBuilderList
public List<BufrCdmIndexProto.Station.Builder> getStationsBuilderList()
repeated .Station stations = 2;
-
hasRoot
public boolean hasRoot()
.Field root = 3;
- Specified by:
hasRoot
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
- Returns:
- Whether the root field is set.
-
getRoot
public BufrCdmIndexProto.Field getRoot()
.Field root = 3;
- Specified by:
getRoot
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
- Returns:
- The root.
-
setRoot
public BufrCdmIndexProto.BufrIndex.Builder setRoot(BufrCdmIndexProto.Field value)
.Field root = 3;
-
setRoot
public BufrCdmIndexProto.BufrIndex.Builder setRoot(BufrCdmIndexProto.Field.Builder builderForValue)
.Field root = 3;
-
mergeRoot
public BufrCdmIndexProto.BufrIndex.Builder mergeRoot(BufrCdmIndexProto.Field value)
.Field root = 3;
-
clearRoot
public BufrCdmIndexProto.BufrIndex.Builder clearRoot()
.Field root = 3;
-
getRootBuilder
public BufrCdmIndexProto.Field.Builder getRootBuilder()
.Field root = 3;
-
getRootOrBuilder
public BufrCdmIndexProto.FieldOrBuilder getRootOrBuilder()
.Field root = 3;
- Specified by:
getRootOrBuilder
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
-
getStart
public long getStart()
msecs since epoch
uint64 start = 4;
- Specified by:
getStart
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
- Returns:
- The start.
-
setStart
public BufrCdmIndexProto.BufrIndex.Builder setStart(long value)
msecs since epoch
uint64 start = 4;
- Parameters:
value
- The start to set.- Returns:
- This builder for chaining.
-
clearStart
public BufrCdmIndexProto.BufrIndex.Builder clearStart()
msecs since epoch
uint64 start = 4;
- Returns:
- This builder for chaining.
-
getEnd
public long getEnd()
uint64 end = 5;
- Specified by:
getEnd
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
- Returns:
- The end.
-
setEnd
public BufrCdmIndexProto.BufrIndex.Builder setEnd(long value)
uint64 end = 5;
- Parameters:
value
- The end to set.- Returns:
- This builder for chaining.
-
clearEnd
public BufrCdmIndexProto.BufrIndex.Builder clearEnd()
uint64 end = 5;
- Returns:
- This builder for chaining.
-
getNobs
public long getNobs()
uint64 nobs = 6;
- Specified by:
getNobs
in interfaceBufrCdmIndexProto.BufrIndexOrBuilder
- Returns:
- The nobs.
-
setNobs
public BufrCdmIndexProto.BufrIndex.Builder setNobs(long value)
uint64 nobs = 6;
- Parameters:
value
- The nobs to set.- Returns:
- This builder for chaining.
-
clearNobs
public BufrCdmIndexProto.BufrIndex.Builder clearNobs()
uint64 nobs = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final BufrCdmIndexProto.BufrIndex.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BufrCdmIndexProto.BufrIndex.Builder>
-
mergeUnknownFields
public final BufrCdmIndexProto.BufrIndex.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BufrCdmIndexProto.BufrIndex.Builder>
-
-