final case class PBFeature(id: Option[Long] = _root_.scala.None, tags: Seq[Int] = _root_.scala.Seq.empty, type: Option[PBGeomType] = _root_.scala.None, geometry: Seq[Int] = _root_.scala.Seq.empty) extends GeneratedMessage with Message[PBFeature] with Updatable[PBFeature] with Product with Serializable
Features are described in section 4.2 of the specification
- tags
Tags of this feature are encoded as repeated pairs of integers. A detailed description of tags is located in sections 4.2 and 4.4 of the specification
- type
The type of geometry stored in this feature.
- geometry
Contains a stream of commands and parameters (vertices). A detailed description on geometry encoding is located in section 4.3 of the specification.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- PBFeature
- Product
- Equals
- Updatable
- Message
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PBFeature(id: Option[Long] = _root_.scala.None, tags: Seq[Int] = _root_.scala.Seq.empty, type: Option[PBGeomType] = _root_.scala.None, geometry: Seq[Int] = _root_.scala.Seq.empty)
- tags
Tags of this feature are encoded as repeated pairs of integers. A detailed description of tags is located in sections 4.2 and 4.4 of the specification
- type
The type of geometry stored in this feature.
- geometry
Contains a stream of commands and parameters (vertices). A detailed description on geometry encoding is located in section 4.3 of the specification.
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 addAllGeometry(__vs: Iterable[Int]): PBFeature
- def addAllTags(__vs: Iterable[Int]): PBFeature
- def addGeometry(__vs: Int*): PBFeature
- def addTags(__vs: Int*): PBFeature
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearGeometry: PBFeature
- def clearId: PBFeature
- def clearTags: PBFeature
- def clearType: PBFeature
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: PBFeature.type
- Definition Classes
- PBFeature → GeneratedMessage
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val geometry: Seq[Int]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- PBFeature → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- PBFeature → GeneratedMessage
- def getId: Long
- def getType: PBGeomType
- val id: Option[Long]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mergeFrom(_input__: CodedInputStream): PBFeature
- Definition Classes
- PBFeature → Message
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
serializedSize: Int
- Definition Classes
- PBFeature → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tags: Seq[Int]
-
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- PBFeature → GeneratedMessage
- val type: Option[PBGeomType]
-
def
update(ms: (Lens[PBFeature, PBFeature]) ⇒ Mutation[PBFeature]*): PBFeature
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
- def withGeometry(__v: Seq[Int]): PBFeature
- def withId(__v: Long): PBFeature
- def withTags(__v: Seq[Int]): PBFeature
- def withType(__v: PBGeomType): PBFeature
-
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- PBFeature → GeneratedMessage
-
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
getAllFields: Map[FieldDescriptor, Any]
- Definition Classes
- GeneratedMessage
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) Use toPMessage
-
def
getField(field: FieldDescriptor): Any
- Definition Classes
- GeneratedMessage
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue