ScalaPbOptionsLens

class ScalaPbOptionsLens[UpperPB](_l: Lens[UpperPB, ScalaPbOptions]) extends ObjectLens[UpperPB, ScalaPbOptions]
class ObjectLens[UpperPB, ScalaPbOptions]
trait Lens[UpperPB, ScalaPbOptions]
class Object
trait Matchable
class Any

Value members

Concrete methods

def `import`: Lens[UpperPB, Seq[String]]
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 collectionType: Lens[UpperPB, String]
def enumStripPrefix: Lens[UpperPB, Boolean]
def enumValueNaming: Lens[UpperPB, EnumValueNaming]
def fieldTransformations: Lens[UpperPB, Seq[FieldTransformation]]
def flatPackage: Lens[UpperPB, Boolean]
def getters: Lens[UpperPB, Boolean]
def ignoreAllTransformations: Lens[UpperPB, Boolean]
def javaConversions: Lens[UpperPB, Boolean]
def lenses: Lens[UpperPB, Boolean]
def mapType: Lens[UpperPB, String]
def noDefaultValuesInConstructor: Lens[UpperPB, Boolean]
def noPrimitiveWrappers: Lens[UpperPB, Boolean]
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 optionalRetainSourceCodeInfo: 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 retainSourceCodeInfo: Lens[UpperPB, Boolean]
def scope: Lens[UpperPB, OptionsScope]
def singleFile: Lens[UpperPB, Boolean]
def testOnlyNoJavaConversions: Lens[UpperPB, Boolean]

Inherited methods

def :=(a: ScalaPbOptions): () => UpperPB

alias to set

alias to set

Inherited from
Lens
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.

Inherited from
Lens
def field[A](getter: ScalaPbOptions => A)(setter: (ScalaPbOptions, A) => ScalaPbOptions): Lens[UpperPB, A]

Creates a sub-lens

Creates a sub-lens

Inherited from
ObjectLens
def field[A](lens: Lens[ScalaPbOptions, A]): Lens[UpperPB, A]

Creates a sub-lens

Creates a sub-lens

Inherited from
ObjectLens
override def get(u: UpperPB): ScalaPbOptions
Definition Classes
ObjectLens -> Lens
Inherited from
ObjectLens
def modify(f: ScalaPbOptions => ScalaPbOptions): () => UpperPB

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

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

Inherited from
Lens
override def set(c: ScalaPbOptions): () => UpperPB
Definition Classes
ObjectLens -> Lens
Inherited from
ObjectLens
def setIfDefined(aOpt: Option[ScalaPbOptions]): () => UpperPB

Optional assignment.

Optional assignment.

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

Inherited from
Lens
def update(ms: Lens[ScalaPbOptions, ScalaPbOptions] => () => ScalaPbOptions*): () => UpperPB
Inherited from
ObjectLens
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.

Inherited from
Lens