Package ucar.nc2.ft.point.remote
Class PointStreamProto.Station.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PointStreamProto.Station.Builder>
-
- ucar.nc2.ft.point.remote.PointStreamProto.Station.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,PointStreamProto.StationOrBuilder
- Enclosing class:
- PointStreamProto.Station
public static final class PointStreamProto.Station.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PointStreamProto.Station.Builder> implements PointStreamProto.StationOrBuilder
Protobuf typeStation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PointStreamProto.Station
build()
PointStreamProto.Station
buildPartial()
PointStreamProto.Station.Builder
clear()
PointStreamProto.Station.Builder
clearAlt()
double alt = 4;
PointStreamProto.Station.Builder
clearDesc()
string desc = 5;
PointStreamProto.Station.Builder
clearId()
string id = 1;
PointStreamProto.Station.Builder
clearLat()
double lat = 2;
PointStreamProto.Station.Builder
clearLon()
double lon = 3;
PointStreamProto.Station.Builder
clearWmoId()
string wmoId = 6;
double
getAlt()
double alt = 4;
PointStreamProto.Station
getDefaultInstanceForType()
String
getDesc()
string desc = 5;
com.google.protobuf.ByteString
getDescBytes()
string desc = 5;
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getId()
string id = 1;
com.google.protobuf.ByteString
getIdBytes()
string id = 1;
double
getLat()
double lat = 2;
double
getLon()
double lon = 3;
String
getWmoId()
string wmoId = 6;
com.google.protobuf.ByteString
getWmoIdBytes()
string wmoId = 6;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PointStreamProto.Station.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PointStreamProto.Station.Builder
mergeFrom(com.google.protobuf.Message other)
PointStreamProto.Station.Builder
mergeFrom(PointStreamProto.Station other)
PointStreamProto.Station.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PointStreamProto.Station.Builder
setAlt(double value)
double alt = 4;
PointStreamProto.Station.Builder
setDesc(String value)
string desc = 5;
PointStreamProto.Station.Builder
setDescBytes(com.google.protobuf.ByteString value)
string desc = 5;
PointStreamProto.Station.Builder
setId(String value)
string id = 1;
PointStreamProto.Station.Builder
setIdBytes(com.google.protobuf.ByteString value)
string id = 1;
PointStreamProto.Station.Builder
setLat(double value)
double lat = 2;
PointStreamProto.Station.Builder
setLon(double value)
double lon = 3;
PointStreamProto.Station.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PointStreamProto.Station.Builder
setWmoId(String value)
string wmoId = 6;
PointStreamProto.Station.Builder
setWmoIdBytes(com.google.protobuf.ByteString value)
string wmoId = 6;
-
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<PointStreamProto.Station.Builder>
-
clear
public PointStreamProto.Station.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<PointStreamProto.Station.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<PointStreamProto.Station.Builder>
-
getDefaultInstanceForType
public PointStreamProto.Station getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PointStreamProto.Station build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PointStreamProto.Station buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public PointStreamProto.Station.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PointStreamProto.Station.Builder>
-
mergeFrom
public PointStreamProto.Station.Builder mergeFrom(PointStreamProto.Station other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PointStreamProto.Station.Builder>
-
mergeFrom
public PointStreamProto.Station.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<PointStreamProto.Station.Builder>
- Throws:
IOException
-
getId
public String getId()
string id = 1;
- Specified by:
getId
in interfacePointStreamProto.StationOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1;
- Specified by:
getIdBytes
in interfacePointStreamProto.StationOrBuilder
- Returns:
- The bytes for id.
-
setId
public PointStreamProto.Station.Builder setId(String value)
string id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public PointStreamProto.Station.Builder clearId()
string id = 1;
- Returns:
- This builder for chaining.
-
setIdBytes
public PointStreamProto.Station.Builder setIdBytes(com.google.protobuf.ByteString value)
string id = 1;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getLat
public double getLat()
double lat = 2;
- Specified by:
getLat
in interfacePointStreamProto.StationOrBuilder
- Returns:
- The lat.
-
setLat
public PointStreamProto.Station.Builder setLat(double value)
double lat = 2;
- Parameters:
value
- The lat to set.- Returns:
- This builder for chaining.
-
clearLat
public PointStreamProto.Station.Builder clearLat()
double lat = 2;
- Returns:
- This builder for chaining.
-
getLon
public double getLon()
double lon = 3;
- Specified by:
getLon
in interfacePointStreamProto.StationOrBuilder
- Returns:
- The lon.
-
setLon
public PointStreamProto.Station.Builder setLon(double value)
double lon = 3;
- Parameters:
value
- The lon to set.- Returns:
- This builder for chaining.
-
clearLon
public PointStreamProto.Station.Builder clearLon()
double lon = 3;
- Returns:
- This builder for chaining.
-
getAlt
public double getAlt()
double alt = 4;
- Specified by:
getAlt
in interfacePointStreamProto.StationOrBuilder
- Returns:
- The alt.
-
setAlt
public PointStreamProto.Station.Builder setAlt(double value)
double alt = 4;
- Parameters:
value
- The alt to set.- Returns:
- This builder for chaining.
-
clearAlt
public PointStreamProto.Station.Builder clearAlt()
double alt = 4;
- Returns:
- This builder for chaining.
-
getDesc
public String getDesc()
string desc = 5;
- Specified by:
getDesc
in interfacePointStreamProto.StationOrBuilder
- Returns:
- The desc.
-
getDescBytes
public com.google.protobuf.ByteString getDescBytes()
string desc = 5;
- Specified by:
getDescBytes
in interfacePointStreamProto.StationOrBuilder
- Returns:
- The bytes for desc.
-
setDesc
public PointStreamProto.Station.Builder setDesc(String value)
string desc = 5;
- Parameters:
value
- The desc to set.- Returns:
- This builder for chaining.
-
clearDesc
public PointStreamProto.Station.Builder clearDesc()
string desc = 5;
- Returns:
- This builder for chaining.
-
setDescBytes
public PointStreamProto.Station.Builder setDescBytes(com.google.protobuf.ByteString value)
string desc = 5;
- Parameters:
value
- The bytes for desc to set.- Returns:
- This builder for chaining.
-
getWmoId
public String getWmoId()
string wmoId = 6;
- Specified by:
getWmoId
in interfacePointStreamProto.StationOrBuilder
- Returns:
- The wmoId.
-
getWmoIdBytes
public com.google.protobuf.ByteString getWmoIdBytes()
string wmoId = 6;
- Specified by:
getWmoIdBytes
in interfacePointStreamProto.StationOrBuilder
- Returns:
- The bytes for wmoId.
-
setWmoId
public PointStreamProto.Station.Builder setWmoId(String value)
string wmoId = 6;
- Parameters:
value
- The wmoId to set.- Returns:
- This builder for chaining.
-
clearWmoId
public PointStreamProto.Station.Builder clearWmoId()
string wmoId = 6;
- Returns:
- This builder for chaining.
-
setWmoIdBytes
public PointStreamProto.Station.Builder setWmoIdBytes(com.google.protobuf.ByteString value)
string wmoId = 6;
- Parameters:
value
- The bytes for wmoId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PointStreamProto.Station.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PointStreamProto.Station.Builder>
-
mergeUnknownFields
public final PointStreamProto.Station.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PointStreamProto.Station.Builder>
-
-