Packages

c

scalapb.options.FieldOptions

FieldOptionsLens

implicit class FieldOptionsLens[UpperPB] extends ObjectLens[UpperPB, FieldOptions]

Linear Supertypes
ObjectLens[UpperPB, FieldOptions], Lens[UpperPB, FieldOptions], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FieldOptionsLens
  2. ObjectLens
  3. Lens
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FieldOptionsLens(_l: Lens[UpperPB, FieldOptions])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def :=(a: FieldOptions): Mutation[UpperPB]

    alias to set

    alias to set

    Definition Classes
    Lens
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def annotations: Lens[UpperPB, Seq[String]]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def collection: Lens[UpperPB, Collection]
  9. def collectionType: Lens[UpperPB, String]
  10. def compose[B](other: Lens[FieldOptions, B]): Lens[UpperPB, B]

    Composes two lenses, this enables nesting.

    Composes two lenses, this enables nesting.

    If our field of type A has a sub-field of type B, then given a lens for it (other: Lens[A, B]) we can create a single lens from Container to B.

    Definition Classes
    Lens
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def field[A](getter: (FieldOptions) ⇒ A)(setter: (FieldOptions, A) ⇒ FieldOptions): Lens[UpperPB, A]

    Creates a sub-lens

    Creates a sub-lens

    Definition Classes
    ObjectLens
  14. def field[A](lens: Lens[FieldOptions, A]): Lens[UpperPB, A]

    Creates a sub-lens

    Creates a sub-lens

    Definition Classes
    ObjectLens
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def get(u: UpperPB): FieldOptions

    get knows how to extract some field of type A from a container

    get knows how to extract some field of type A from a container

    Definition Classes
    ObjectLensLens
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def keyType: Lens[UpperPB, String]
  21. def mapType: Lens[UpperPB, String]
  22. def modify(f: (FieldOptions) ⇒ FieldOptions): Mutation[UpperPB]

    Represent an update operator (like x.y += 1 )

    Represent an update operator (like x.y += 1 )

    Definition Classes
    Lens
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def noBox: Lens[UpperPB, Boolean]
  25. def noDefaultValueInConstructor: Lens[UpperPB, Boolean]
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def optionalCollection: Lens[UpperPB, Option[Collection]]
  29. def optionalCollectionType: Lens[UpperPB, Option[String]]
  30. def optionalKeyType: Lens[UpperPB, Option[String]]
  31. def optionalMapType: Lens[UpperPB, Option[String]]
  32. def optionalNoBox: Lens[UpperPB, Option[Boolean]]
  33. def optionalNoDefaultValueInConstructor: Lens[UpperPB, Option[Boolean]]
  34. def optionalRequired: Lens[UpperPB, Option[Boolean]]
  35. def optionalScalaName: Lens[UpperPB, Option[String]]
  36. def optionalType: Lens[UpperPB, Option[String]]
  37. def optionalValueType: Lens[UpperPB, Option[String]]
  38. def required: Lens[UpperPB, Boolean]
  39. def scalaName: Lens[UpperPB, String]
  40. def set(c: FieldOptions): Mutation[UpperPB]

    Represents an assignment operator.

    Represents an assignment operator.

    Given a value of type A, sets knows how to transform a container such that a is assigned to the field.

    We must have get(set(a)(c)) == a

    Definition Classes
    ObjectLensLens
  41. def setIfDefined(aOpt: Option[FieldOptions]): Mutation[UpperPB]

    Optional assignment.

    Optional assignment.

    Given a Some[A], assign the Some's value to the field. Given None, the container is unchanged.

    Definition Classes
    Lens
  42. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. def type: Lens[UpperPB, String]
  45. def update(ms: (Lens[FieldOptions, FieldOptions]) ⇒ Mutation[FieldOptions]*): Mutation[UpperPB]
    Definition Classes
    ObjectLens
  46. def valueType: Lens[UpperPB, String]
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  50. def zip[B](other: Lens[UpperPB, B]): Lens[UpperPB, (FieldOptions, B)]

    Given two lenses with the same origin, returns a new lens that can mutate both values represented by both lenses through a tuple.

    Given two lenses with the same origin, returns a new lens that can mutate both values represented by both lenses through a tuple.

    Definition Classes
    Lens

Inherited from ObjectLens[UpperPB, FieldOptions]

Inherited from Lens[UpperPB, FieldOptions]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped