c

scalapb.options.ScalaPbOptions

ScalaPbOptionsLens

implicit class ScalaPbOptionsLens[UpperPB] extends ObjectLens[UpperPB, ScalaPbOptions]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaPbOptionsLens
  2. ObjectLens
  3. Lens
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaPbOptionsLens(_l: Lens[UpperPB, ScalaPbOptions])

Value Members

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

    alias to set

    alias to set

    Definition Classes
    Lens
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def auxEnumOptions: Lens[UpperPB, Seq[AuxEnumOptions]]
  7. def auxEnumValueOptions: Lens[UpperPB, Seq[AuxEnumValueOptions]]
  8. def auxFieldOptions: Lens[UpperPB, Seq[AuxFieldOptions]]
  9. def auxMessageOptions: Lens[UpperPB, Seq[AuxMessageOptions]]
  10. def bytesType: Lens[UpperPB, String]
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def collectionType: Lens[UpperPB, String]
  13. def compose[B](other: Lens[ScalaPbOptions, 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
  14. def enumStripPrefix: Lens[UpperPB, Boolean]
  15. def enumValueNaming: Lens[UpperPB, EnumValueNaming]
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def field[A](getter: (ScalaPbOptions) ⇒ A)(setter: (ScalaPbOptions, A) ⇒ ScalaPbOptions): Lens[UpperPB, A]

    Creates a sub-lens

    Creates a sub-lens

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

    Creates a sub-lens

    Creates a sub-lens

    Definition Classes
    ObjectLens
  20. def fieldTransformations: Lens[UpperPB, Seq[FieldTransformation]]
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def flatPackage: Lens[UpperPB, Boolean]
  23. def get(u: UpperPB): ScalaPbOptions

    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
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def getters: Lens[UpperPB, Boolean]
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def ignoreAllTransformations: Lens[UpperPB, Boolean]
  28. def import: Lens[UpperPB, Seq[String]]
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def javaConversions: Lens[UpperPB, Boolean]
  31. def lenses: Lens[UpperPB, Boolean]
  32. def mapType: Lens[UpperPB, String]
  33. def modify(f: (ScalaPbOptions) ⇒ ScalaPbOptions): Mutation[UpperPB]

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

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

    Definition Classes
    Lens
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def noDefaultValuesInConstructor: Lens[UpperPB, Boolean]
  36. def noPrimitiveWrappers: Lens[UpperPB, Boolean]
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def objectName: Lens[UpperPB, String]
  40. def optionalBytesType: Lens[UpperPB, Option[String]]
  41. def optionalCollectionType: Lens[UpperPB, Option[String]]
  42. def optionalEnumStripPrefix: Lens[UpperPB, Option[Boolean]]
  43. def optionalEnumValueNaming: Lens[UpperPB, Option[EnumValueNaming]]
  44. def optionalFlatPackage: Lens[UpperPB, Option[Boolean]]
  45. def optionalGetters: Lens[UpperPB, Option[Boolean]]
  46. def optionalIgnoreAllTransformations: Lens[UpperPB, Option[Boolean]]
  47. def optionalJavaConversions: Lens[UpperPB, Option[Boolean]]
  48. def optionalLenses: Lens[UpperPB, Option[Boolean]]
  49. def optionalMapType: Lens[UpperPB, Option[String]]
  50. def optionalNoDefaultValuesInConstructor: Lens[UpperPB, Option[Boolean]]
  51. def optionalNoPrimitiveWrappers: Lens[UpperPB, Option[Boolean]]
  52. def optionalObjectName: Lens[UpperPB, Option[String]]
  53. def optionalPackageName: Lens[UpperPB, Option[String]]
  54. def optionalPreserveUnknownFields: Lens[UpperPB, Option[Boolean]]
  55. def optionalPrimitiveWrappers: Lens[UpperPB, Option[Boolean]]
  56. def optionalRetainSourceCodeInfo: Lens[UpperPB, Option[Boolean]]
  57. def optionalScope: Lens[UpperPB, Option[OptionsScope]]
  58. def optionalSingleFile: Lens[UpperPB, Option[Boolean]]
  59. def optionalTestOnlyNoJavaConversions: Lens[UpperPB, Option[Boolean]]
  60. def packageName: Lens[UpperPB, String]
  61. def preamble: Lens[UpperPB, Seq[String]]
  62. def preprocessors: Lens[UpperPB, Seq[String]]
  63. def preserveUnknownFields: Lens[UpperPB, Boolean]
  64. def primitiveWrappers: Lens[UpperPB, Boolean]
  65. def retainSourceCodeInfo: Lens[UpperPB, Boolean]
  66. def scope: Lens[UpperPB, OptionsScope]
  67. def set(c: ScalaPbOptions): 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
  68. def setIfDefined(aOpt: Option[ScalaPbOptions]): 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
  69. def singleFile: Lens[UpperPB, Boolean]
  70. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  71. def testOnlyNoJavaConversions: Lens[UpperPB, Boolean]
  72. def toString(): String
    Definition Classes
    AnyRef → Any
  73. def update(ms: (Lens[ScalaPbOptions, ScalaPbOptions]) ⇒ Mutation[ScalaPbOptions]*): Mutation[UpperPB]
    Definition Classes
    ObjectLens
  74. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  77. def zip[B](other: Lens[UpperPB, B]): Lens[UpperPB, (ScalaPbOptions, 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, ScalaPbOptions]

Inherited from Lens[UpperPB, ScalaPbOptions]

Inherited from AnyRef

Inherited from Any

Ungrouped