Packages

implicit class DescriptorProtoLens[UpperPB] extends ObjectLens[UpperPB, DescriptorProto]

Linear Supertypes
ObjectLens[UpperPB, DescriptorProto], Lens[UpperPB, DescriptorProto], AnyRef, scala.Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DescriptorProtoLens
  2. ObjectLens
  3. Lens
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DescriptorProtoLens(_l: Lens[UpperPB, DescriptorProto])

Value Members

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

    alias to set

    alias to set

    Definition Classes
    Lens
  4. final def ==(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def compose[B](other: Lens[DescriptorProto, 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
  8. def enumType: Lens[UpperPB, Seq[EnumDescriptorProto]]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def extension: Lens[UpperPB, Seq[FieldDescriptorProto]]
  12. def extensionRange: Lens[UpperPB, Seq[ExtensionRange]]
  13. def field: Lens[UpperPB, Seq[FieldDescriptorProto]]
  14. def field[A](getter: (DescriptorProto) ⇒ A)(setter: (DescriptorProto, A) ⇒ DescriptorProto): Lens[UpperPB, A]

    Creates a sub-lens

    Creates a sub-lens

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

    Creates a sub-lens

    Creates a sub-lens

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

    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
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def modify(f: (DescriptorProto) ⇒ DescriptorProto): Mutation[UpperPB]

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

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

    Definition Classes
    Lens
  22. def name: Lens[UpperPB, String]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def nestedType: Lens[UpperPB, Seq[DescriptorProto]]
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def oneofDecl: Lens[UpperPB, Seq[OneofDescriptorProto]]
  28. def optionalName: Lens[UpperPB, scala.Option[String]]
  29. def optionalOptions: Lens[UpperPB, scala.Option[MessageOptions]]
  30. def options: Lens[UpperPB, MessageOptions]
  31. def reservedName: Lens[UpperPB, Seq[String]]
  32. def reservedRange: Lens[UpperPB, Seq[ReservedRange]]
  33. def set(c: DescriptorProto): 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
  34. def setIfDefined(aOpt: scala.Option[DescriptorProto]): 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
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. def update(ms: (Lens[DescriptorProto, DescriptorProto]) ⇒ Mutation[DescriptorProto]*): Mutation[UpperPB]
    Definition Classes
    ObjectLens
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  41. def zip[B](other: Lens[UpperPB, B]): Lens[UpperPB, (DescriptorProto, 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, DescriptorProto]

Inherited from Lens[UpperPB, DescriptorProto]

Inherited from AnyRef

Inherited from scala.Any

Ungrouped