Packages

final case class FieldOptions(type: Option[String] = _root_.scala.None, scalaName: Option[String] = _root_.scala.None, collectionType: Option[String] = _root_.scala.None, keyType: Option[String] = _root_.scala.None, valueType: Option[String] = _root_.scala.None, annotations: Seq[String] = _root_.scala.Seq.empty, mapType: Option[String] = _root_.scala.None, noBox: Option[Boolean] = _root_.scala.None) 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.

mapType

Can be specified only if this field is a map. If unspecified, it falls back to the file option named map_type which defaults to scala.collection.immutable.Map

noBox

Do not box this value in Option[T]. If set, this overrides MessageOptions.no_box

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] = _root_.scala.None, scalaName: Option[String] = _root_.scala.None, collectionType: Option[String] = _root_.scala.None, keyType: Option[String] = _root_.scala.None, valueType: Option[String] = _root_.scala.None, annotations: Seq[String] = _root_.scala.Seq.empty, mapType: Option[String] = _root_.scala.None, noBox: Option[Boolean] = _root_.scala.None)

    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.

    mapType

    Can be specified only if this field is a map. If unspecified, it falls back to the file option named map_type which defaults to scala.collection.immutable.Map

    noBox

    Do not box this value in Option[T]. If set, this overrides MessageOptions.no_box

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: Iterable[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 clearMapType: FieldOptions
  12. def clearNoBox: FieldOptions
  13. def clearScalaName: FieldOptions
  14. def clearType: FieldOptions
  15. def clearValueType: FieldOptions
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  17. val collectionType: Option[String]
  18. def companion: FieldOptions.type
    Definition Classes
    FieldOptionsGeneratedMessage
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def getCollectionType: String
  23. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    FieldOptionsGeneratedMessage
  24. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    FieldOptionsGeneratedMessage
  25. def getKeyType: String
  26. def getMapType: String
  27. def getNoBox: Boolean
  28. def getScalaName: String
  29. def getType: String
  30. def getValueType: String
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. val keyType: Option[String]
  33. val mapType: Option[String]
  34. def mergeFrom(_input__: CodedInputStream): FieldOptions
    Definition Classes
    FieldOptionsMessage
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. val noBox: Option[Boolean]
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. val scalaName: Option[String]
  40. final def serializedSize: Int
    Definition Classes
    FieldOptionsGeneratedMessage
  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  43. def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  44. def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  45. def toProtoString: String

    Returns a human-readable ASCII format representation of this message.

    Returns a human-readable ASCII format representation of this message.

    The original message can be decoded from this format by using fromAscii on the companion object.

    returns

    human-readable representation of this message.

    Definition Classes
    FieldOptionsGeneratedMessage
  46. val type: Option[String]
  47. def update(ms: (Lens[FieldOptions, FieldOptions]) ⇒ Mutation[FieldOptions]*): FieldOptions
    Definition Classes
    Updatable
  48. val valueType: Option[String]
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  52. def withAnnotations(__v: Seq[String]): FieldOptions
  53. def withCollectionType(__v: String): FieldOptions
  54. def withKeyType(__v: String): FieldOptions
  55. def withMapType(__v: String): FieldOptions
  56. def withNoBox(__v: Boolean): FieldOptions
  57. def withScalaName(__v: String): FieldOptions
  58. def withType(__v: String): FieldOptions
  59. def withValueType(__v: String): FieldOptions
  60. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  61. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    FieldOptionsGeneratedMessage
  62. 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