implicit class ScalaPbOptionsLens[UpperPB] extends ObjectLens[UpperPB, ScalaPbOptions]
- Alphabetic
- By Inheritance
- ScalaPbOptionsLens
- ObjectLens
- Lens
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ScalaPbOptionsLens(_l: Lens[UpperPB, ScalaPbOptions])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
:=(a: ScalaPbOptions): Mutation[UpperPB]
alias to set
alias to set
- Definition Classes
- Lens
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def auxEnumOptions: Lens[UpperPB, Seq[AuxEnumOptions]]
- def auxEnumValueOptions: Lens[UpperPB, Seq[AuxEnumValueOptions]]
- def auxFieldOptions: Lens[UpperPB, Seq[AuxFieldOptions]]
- def auxMessageOptions: Lens[UpperPB, Seq[AuxMessageOptions]]
- def bytesType: Lens[UpperPB, String]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def collectionType: Lens[UpperPB, String]
-
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
- def enumStripPrefix: Lens[UpperPB, Boolean]
- def enumValueNaming: Lens[UpperPB, EnumValueNaming]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
field[A](getter: (ScalaPbOptions) ⇒ A)(setter: (ScalaPbOptions, A) ⇒ ScalaPbOptions): Lens[UpperPB, A]
Creates a sub-lens
Creates a sub-lens
- Definition Classes
- ObjectLens
-
def
field[A](lens: Lens[ScalaPbOptions, A]): Lens[UpperPB, A]
Creates a sub-lens
Creates a sub-lens
- Definition Classes
- ObjectLens
- def fieldTransformations: Lens[UpperPB, Seq[FieldTransformation]]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def flatPackage: Lens[UpperPB, Boolean]
-
def
get(u: UpperPB): ScalaPbOptions
get knows how to extract some field of type
A
from a containerget knows how to extract some field of type
A
from a container- Definition Classes
- ObjectLens → Lens
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getters: Lens[UpperPB, Boolean]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ignoreAllTransformations: Lens[UpperPB, Boolean]
- def import: Lens[UpperPB, Seq[String]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaConversions: Lens[UpperPB, Boolean]
- def lenses: Lens[UpperPB, Boolean]
- def mapType: Lens[UpperPB, String]
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noDefaultValuesInConstructor: Lens[UpperPB, Boolean]
- def noPrimitiveWrappers: Lens[UpperPB, Boolean]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def objectName: Lens[UpperPB, String]
- def optionalBytesType: Lens[UpperPB, Option[String]]
- def optionalCollectionType: Lens[UpperPB, Option[String]]
- def optionalEnumStripPrefix: Lens[UpperPB, Option[Boolean]]
- def optionalEnumValueNaming: Lens[UpperPB, Option[EnumValueNaming]]
- def optionalFlatPackage: Lens[UpperPB, Option[Boolean]]
- def optionalGetters: Lens[UpperPB, Option[Boolean]]
- def optionalIgnoreAllTransformations: Lens[UpperPB, Option[Boolean]]
- def optionalJavaConversions: Lens[UpperPB, Option[Boolean]]
- def optionalLenses: Lens[UpperPB, Option[Boolean]]
- def optionalMapType: Lens[UpperPB, Option[String]]
- def optionalNoDefaultValuesInConstructor: Lens[UpperPB, Option[Boolean]]
- def optionalNoPrimitiveWrappers: Lens[UpperPB, Option[Boolean]]
- def optionalObjectName: Lens[UpperPB, Option[String]]
- def optionalPackageName: Lens[UpperPB, Option[String]]
- def optionalPreserveUnknownFields: Lens[UpperPB, Option[Boolean]]
- def optionalPrimitiveWrappers: Lens[UpperPB, Option[Boolean]]
- def optionalPublicConstructorParameters: Lens[UpperPB, Option[Boolean]]
- def optionalRetainSourceCodeInfo: Lens[UpperPB, Option[Boolean]]
- def optionalScala3Sources: Lens[UpperPB, Option[Boolean]]
- def optionalScope: Lens[UpperPB, Option[OptionsScope]]
- def optionalSingleFile: Lens[UpperPB, Option[Boolean]]
- def optionalTestOnlyNoJavaConversions: Lens[UpperPB, Option[Boolean]]
- def packageName: Lens[UpperPB, String]
- def preamble: Lens[UpperPB, Seq[String]]
- def preprocessors: Lens[UpperPB, Seq[String]]
- def preserveUnknownFields: Lens[UpperPB, Boolean]
- def primitiveWrappers: Lens[UpperPB, Boolean]
- def publicConstructorParameters: Lens[UpperPB, Boolean]
- def retainSourceCodeInfo: Lens[UpperPB, Boolean]
- def scala3Sources: Lens[UpperPB, Boolean]
- def scope: Lens[UpperPB, OptionsScope]
-
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
- ObjectLens → Lens
-
def
setIfDefined(aOpt: Option[ScalaPbOptions]): Mutation[UpperPB]
Optional assignment.
Optional assignment.
Given a
Some[A]
, assign theSome
's value to the field. GivenNone
, the container is unchanged.- Definition Classes
- Lens
- def singleFile: Lens[UpperPB, Boolean]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def testOnlyNoJavaConversions: Lens[UpperPB, Boolean]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
update(ms: (Lens[ScalaPbOptions, ScalaPbOptions]) ⇒ Mutation[ScalaPbOptions]*): Mutation[UpperPB]
- Definition Classes
- ObjectLens
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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