final case class Sensor(id: String = "", type: String = "", description: String = "", location: Option[Location] = _root_.scala.None, coordinate: Option[Coordinate] = _root_.scala.None, info: Map[String, String] = ..., unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Sensor] with Product with Serializable
Sensor object to be nested in every message, example
"sensor": { "id": "string", "type": "Camera/Puck", "location": { "lat": 45.99, "lon": 35.54, "alt": 79.03 }, "coordinate": { "x": 5.2, "y": 10.1, "z": 11.2 }, "description": "Entrance of Endeavor Garage Right Lane" }
- id
id
- type
Camera or Puck
- description
description
- location
in lat, lon, alt
- coordinate
in x,y,z
- info
additional info
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Sensor
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Sensor(id: String = "", type: String = "", description: String = "", location: Option[Location] = _root_.scala.None, coordinate: Option[Coordinate] = _root_.scala.None, info: Map[String, String] = ..., unknownFields: UnknownFieldSet = ...)
- id
id
- type
Camera or Puck
- description
description
- location
in lat, lon, alt
- coordinate
in x,y,z
- info
additional info
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllInfo(__vs: Iterable[(String, String)]): Sensor
- def addInfo(__vs: (String, String)*): Sensor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearCoordinate: Sensor
- def clearInfo: Sensor
- def clearLocation: Sensor
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
companion: Sensor.type
- Definition Classes
- Sensor → GeneratedMessage
- val coordinate: Option[Coordinate]
- val description: String
- def discardUnknownFields: Sensor
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getCoordinate: Coordinate
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- Sensor → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Sensor → GeneratedMessage
- def getLocation: Location
- val id: String
- val info: Map[String, String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val location: Option[Location]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
serializedSize: Int
- Definition Classes
- Sensor → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- Sensor → GeneratedMessage
- val type: String
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[Sensor, Sensor]) ⇒ Mutation[Sensor]*): Sensor
- Definition Classes
- Updatable
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withCoordinate(__v: Coordinate): Sensor
- def withDescription(__v: String): Sensor
- def withId(__v: String): Sensor
- def withInfo(__v: Map[String, String]): Sensor
- def withLocation(__v: Location): Sensor
- def withType(__v: String): Sensor
- def withUnknownFields(__v: UnknownFieldSet): Sensor
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Sensor → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated