Packages

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
Updatable[Sensor], GeneratedMessage, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sensor
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllInfo(__vs: Iterable[(String, String)]): Sensor
  5. def addInfo(__vs: (String, String)*): Sensor
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearCoordinate: Sensor
  8. def clearInfo: Sensor
  9. def clearLocation: Sensor
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  11. def companion: Sensor.type
    Definition Classes
    Sensor → GeneratedMessage
  12. val coordinate: Option[Coordinate]
  13. val description: String
  14. def discardUnknownFields: Sensor
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def getCoordinate: Coordinate
  18. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Sensor → GeneratedMessage
  19. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Sensor → GeneratedMessage
  20. def getLocation: Location
  21. val id: String
  22. val info: Map[String, String]
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. val location: Option[Location]
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def serializedSize: Int
    Definition Classes
    Sensor → GeneratedMessage
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  31. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  32. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  33. def toProtoString: String
    Definition Classes
    Sensor → GeneratedMessage
  34. val type: String
  35. val unknownFields: UnknownFieldSet
  36. def update(ms: (Lens[Sensor, Sensor]) ⇒ Mutation[Sensor]*): Sensor
    Definition Classes
    Updatable
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def withCoordinate(__v: Coordinate): Sensor
  41. def withDescription(__v: String): Sensor
  42. def withId(__v: String): Sensor
  43. def withInfo(__v: Map[String, String]): Sensor
  44. def withLocation(__v: Location): Sensor
  45. def withType(__v: String): Sensor
  46. def withUnknownFields(__v: UnknownFieldSet): Sensor
  47. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  48. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Sensor → GeneratedMessage
  49. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Updatable[Sensor]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped