final case class PBLayer(version: Int, name: String, features: Seq[PBFeature] = _root_.scala.Seq.empty, keys: Seq[String] = _root_.scala.Seq.empty, values: Seq[PBValue] = _root_.scala.Seq.empty, extent: Option[Int] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet()) extends GeneratedMessage with Message[PBLayer] with Updatable[PBLayer] with ExtendableMessage[PBLayer] with Product with Serializable
Layers are described in section 4.1 of the specification
- version
Any compliant implementation must first read the version number encoded in this message and choose the correct implementation for this version number before proceeding to decode other parts of this message.
- features
The actual features in this tile.
- keys
Dictionary encoding for keys
- values
Dictionary encoding for values
- extent
Although this is an "optional" field it is required by the specification. See https://github.com/mapbox/vector-tile-spec/issues/47
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- PBLayer
- Product
- Equals
- ExtendableMessage
- Updatable
- Message
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PBLayer(version: Int, name: String, features: Seq[PBFeature] = _root_.scala.Seq.empty, keys: Seq[String] = _root_.scala.Seq.empty, values: Seq[PBValue] = _root_.scala.Seq.empty, extent: Option[Int] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet())
- version
Any compliant implementation must first read the version number encoded in this message and choose the correct implementation for this version number before proceeding to decode other parts of this message.
- features
The actual features in this tile.
- keys
Dictionary encoding for keys
- values
Dictionary encoding for values
- extent
Although this is an "optional" field it is required by the specification. See https://github.com/mapbox/vector-tile-spec/issues/47
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 addAllFeatures(__vs: Iterable[PBFeature]): PBLayer
- def addAllKeys(__vs: Iterable[String]): PBLayer
- def addAllValues(__vs: Iterable[PBValue]): PBLayer
- def addFeatures(__vs: PBFeature*): PBLayer
- def addKeys(__vs: String*): PBLayer
- def addValues(__vs: PBValue*): PBLayer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearExtent: PBLayer
- def clearFeatures: PBLayer
- def clearKeys: PBLayer
- def clearValues: PBLayer
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: PBLayer.type
- Definition Classes
- PBLayer → GeneratedMessage
- def discardUnknownFields: PBLayer
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
extension[T](generatedExtension: GeneratedExtension[PBLayer, T]): T
- Definition Classes
- ExtendableMessage
- val extent: Option[Int]
- val features: Seq[PBFeature]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getExtent: Int
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- PBLayer → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- PBLayer → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keys: Seq[String]
-
def
mergeFrom(_input__: CodedInputStream): PBLayer
- Definition Classes
- PBLayer → Message
- val name: String
-
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
- PBLayer → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- PBLayer → GeneratedMessage
-
val
unknownFields: UnknownFieldSet
- Definition Classes
- PBLayer → ExtendableMessage
-
def
update(ms: (Lens[PBLayer, PBLayer]) ⇒ Mutation[PBLayer]*): PBLayer
- Definition Classes
- Updatable
- val values: Seq[PBValue]
- val version: Int
-
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
withExtension[T](generatedExtension: GeneratedExtension[PBLayer, T])(value: T): PBLayer
- Definition Classes
- ExtendableMessage
- def withExtent(__v: Int): PBLayer
- def withFeatures(__v: Seq[PBFeature]): PBLayer
- def withKeys(__v: Seq[String]): PBLayer
- def withName(__v: String): PBLayer
-
def
withUnknownFields(__v: UnknownFieldSet): PBLayer
- Definition Classes
- PBLayer → ExtendableMessage
- def withValues(__v: Seq[PBValue]): PBLayer
- def withVersion(__v: Int): PBLayer
-
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- PBLayer → 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