final case class FieldOptions(type: Option[String] = None, scalaName: Option[String] = None, collectionType: Option[String] = None, keyType: Option[String] = None, valueType: Option[String] = None, annotations: Seq[String] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[FieldOptions] with Updatable[FieldOptions] with Product with Serializable

collectionType

Can be specified only if this field is repeated. If unspecified, it falls back to the file option named collection_type, which defaults to scala.collection.Seq.

keyType

If the field is a map, you can specify custom Scala types for the key or value.

annotations

Custom annotations to add to the field.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[FieldOptions], Message[FieldOptions], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FieldOptions
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FieldOptions(type: Option[String] = None, scalaName: Option[String] = None, collectionType: Option[String] = None, keyType: Option[String] = None, valueType: Option[String] = None, annotations: Seq[String] = _root_.scala.collection.Seq.empty)

    collectionType

    Can be specified only if this field is repeated. If unspecified, it falls back to the file option named collection_type, which defaults to scala.collection.Seq.

    keyType

    If the field is a map, you can specify custom Scala types for the key or value.

    annotations

    Custom annotations to add to the field.

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 addAllAnnotations(__vs: TraversableOnce[String]): FieldOptions
  5. def addAnnotations(__vs: String*): FieldOptions
  6. val annotations: Seq[String]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clearAnnotations: FieldOptions
  9. def clearCollectionType: FieldOptions
  10. def clearKeyType: FieldOptions
  11. def clearScalaName: FieldOptions
  12. def clearType: FieldOptions
  13. def clearValueType: FieldOptions
  14. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. val collectionType: Option[String]
  16. def companion: FieldOptions.type
    Definition Classes
    FieldOptionsGeneratedMessage
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  20. def getCollectionType: String
  21. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    FieldOptionsGeneratedMessage
  22. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    FieldOptionsGeneratedMessage
  23. def getKeyType: String
  24. def getScalaName: String
  25. def getType: String
  26. def getValueType: String
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. val keyType: Option[String]
  29. def mergeFrom(_input__: CodedInputStream): FieldOptions
    Definition Classes
    FieldOptionsMessage
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  33. val scalaName: Option[String]
  34. final def serializedSize: Int
    Definition Classes
    FieldOptionsGeneratedMessage
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  37. def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  38. def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  39. def toString(): String
    Definition Classes
    FieldOptions → AnyRef → Any
  40. val type: Option[String]
  41. def update(ms: (Lens[FieldOptions, FieldOptions]) ⇒ Mutation[FieldOptions]*): FieldOptions
    Definition Classes
    Updatable
  42. val valueType: Option[String]
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def withAnnotations(__v: Seq[String]): FieldOptions
  47. def withCollectionType(__v: String): FieldOptions
  48. def withKeyType(__v: String): FieldOptions
  49. def withScalaName(__v: String): FieldOptions
  50. def withType(__v: String): FieldOptions
  51. def withValueType(__v: String): FieldOptions
  52. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  53. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    FieldOptionsGeneratedMessage
  54. def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

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

Inherited from Product

Inherited from Equals

Inherited from Updatable[FieldOptions]

Inherited from Message[FieldOptions]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped