FileOptionsLens

implicit class FileOptionsLens[UpperPB](_l: Lens[UpperPB, FileOptions]) extends ObjectLens[UpperPB, FileOptions]
class ObjectLens[UpperPB, FileOptions]
trait Lens[UpperPB, FileOptions]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def ccEnableArenas: Lens[UpperPB, Boolean]
def ccGenericServices: Lens[UpperPB, Boolean]
def csharpNamespace: Lens[UpperPB, String]
def deprecated: Lens[UpperPB, Boolean]
def goPackage: Lens[UpperPB, String]
def javaGenerateEqualsAndHash: Lens[UpperPB, Boolean]
def javaGenericServices: Lens[UpperPB, Boolean]
def javaMultipleFiles: Lens[UpperPB, Boolean]
def javaOuterClassname: Lens[UpperPB, String]
def javaPackage: Lens[UpperPB, String]
def javaStringCheckUtf8: Lens[UpperPB, Boolean]
def objcClassPrefix: Lens[UpperPB, String]
def optimizeFor: Lens[UpperPB, OptimizeMode]
def optionalCcEnableArenas: Lens[UpperPB, Option[Boolean]]
def optionalCcGenericServices: Lens[UpperPB, Option[Boolean]]
def optionalCsharpNamespace: Lens[UpperPB, Option[String]]
def optionalDeprecated: Lens[UpperPB, Option[Boolean]]
def optionalGoPackage: Lens[UpperPB, Option[String]]
def optionalJavaGenerateEqualsAndHash: Lens[UpperPB, Option[Boolean]]
def optionalJavaGenericServices: Lens[UpperPB, Option[Boolean]]
def optionalJavaMultipleFiles: Lens[UpperPB, Option[Boolean]]
def optionalJavaOuterClassname: Lens[UpperPB, Option[String]]
def optionalJavaPackage: Lens[UpperPB, Option[String]]
def optionalJavaStringCheckUtf8: Lens[UpperPB, Option[Boolean]]
def optionalObjcClassPrefix: Lens[UpperPB, Option[String]]
def optionalOptimizeFor: Lens[UpperPB, Option[OptimizeMode]]
def optionalPhpClassPrefix: Lens[UpperPB, Option[String]]
def optionalPhpGenericServices: Lens[UpperPB, Option[Boolean]]
def optionalPhpMetadataNamespace: Lens[UpperPB, Option[String]]
def optionalPhpNamespace: Lens[UpperPB, Option[String]]
def optionalPyGenericServices: Lens[UpperPB, Option[Boolean]]
def optionalRubyPackage: Lens[UpperPB, Option[String]]
def optionalSwiftPrefix: Lens[UpperPB, Option[String]]
def phpClassPrefix: Lens[UpperPB, String]
def phpGenericServices: Lens[UpperPB, Boolean]
def phpMetadataNamespace: Lens[UpperPB, String]
def phpNamespace: Lens[UpperPB, String]
def pyGenericServices: Lens[UpperPB, Boolean]
def rubyPackage: Lens[UpperPB, String]
def swiftPrefix: Lens[UpperPB, String]
def uninterpretedOption: Lens[UpperPB, Seq[UninterpretedOption]]

Inherited methods

def :=(a: FileOptions): () => Container

alias to set

alias to set

Inherited from:
Lens
def compose[B](other: Lens[FileOptions, B]): Lens[Container, 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: FileOptions => A)(setter: (FileOptions, A) => FileOptions): Lens[U, A]

Creates a sub-lens

Creates a sub-lens

Inherited from:
ObjectLens
def field[A](lens: Lens[FileOptions, A]): Lens[U, A]

Creates a sub-lens

Creates a sub-lens

Inherited from:
ObjectLens
override def get(u: UpperPB): Container

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
ObjectLens -> Lens
Inherited from:
ObjectLens
def modify(f: FileOptions => FileOptions): () => Container

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

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

Inherited from:
Lens
override def set(c: FileOptions): () => U

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
Inherited from:
ObjectLens
def setIfDefined(aOpt: Option[FileOptions]): () => Container

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[FileOptions, FileOptions] => () => FileOptions*): () => U
Inherited from:
ObjectLens
def zip[B](other: Lens[UpperPB, B]): Lens[Container, (A, 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