com.trueaccord.scalapb.scalapb

FieldOptions

final case class FieldOptions(type: Option[String] = scala.None, scalaName: Option[String] = scala.None, collectionType: Option[String] = scala.None, keyType: Option[String] = scala.None, valueType: Option[String] = 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
@SerialVersionUID( 0L )
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FieldOptions(type: Option[String] = scala.None, scalaName: Option[String] = scala.None, collectionType: Option[String] = scala.None, keyType: Option[String] = scala.None, valueType: Option[String] = 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.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clearCollectionType: FieldOptions

  8. def clearKeyType: FieldOptions

  9. def clearScalaName: FieldOptions

  10. def clearType: FieldOptions

  11. def clearValueType: FieldOptions

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. val collectionType: Option[String]

    Can be specified only if this field is repeated.

    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.

  14. def companion: FieldOptions.type

    Definition Classes
    FieldOptionsGeneratedMessage
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def getCollectionType: String

  19. def getField(__field: FieldDescriptor): PValue

    Definition Classes
    FieldOptionsGeneratedMessage
  20. def getFieldByNumber(__fieldNumber: Int): Any

    Definition Classes
    FieldOptionsGeneratedMessage
  21. def getKeyType: String

  22. def getScalaName: String

  23. def getType: String

  24. def getValueType: String

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. val keyType: Option[String]

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

  27. def mergeFrom(_input__: CodedInputStream): FieldOptions

    Definition Classes
    FieldOptionsMessage
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. val scalaName: Option[String]

  32. final def serializedSize: Int

    Definition Classes
    FieldOptionsGeneratedMessage
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toByteArray: Array[Byte]

    Definition Classes
    GeneratedMessage
  35. def toByteString: ByteString

    Definition Classes
    GeneratedMessage
  36. def toPMessage: PMessage

    Definition Classes
    GeneratedMessage
  37. def toString(): String

    Definition Classes
    FieldOptions → AnyRef → Any
  38. val type: Option[String]

  39. def update(ms: (Lens[FieldOptions, FieldOptions]) ⇒ (FieldOptions) ⇒ FieldOptions*): FieldOptions

    Definition Classes
    Updatable
  40. val valueType: Option[String]

  41. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def withCollectionType(__v: String): FieldOptions

  45. def withKeyType(__v: String): FieldOptions

  46. def withScalaName(__v: String): FieldOptions

  47. def withType(__v: String): FieldOptions

  48. def withValueType(__v: String): FieldOptions

  49. def writeDelimitedTo(output: OutputStream): Unit

    Definition Classes
    GeneratedMessage
  50. def writeTo(_output__: CodedOutputStream): Unit

    Definition Classes
    FieldOptionsGeneratedMessage
  51. 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