implicit class FieldOptionsLens[UpperPB] extends ObjectLens[UpperPB, FieldOptions]
- Alphabetic
- By Inheritance
- FieldOptionsLens
- ObjectLens
- Lens
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new FieldOptionsLens(_l: Lens[UpperPB, FieldOptions])
Value Members
-
final
def
!=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
:=(a: FieldOptions): Mutation[UpperPB]
alias to set
alias to set
- Definition Classes
- Lens
-
final
def
==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compose[B](other: Lens[FieldOptions, 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 ctype: Lens[UpperPB, CType]
- def debugRedact: Lens[UpperPB, Boolean]
- def deprecated: Lens[UpperPB, Boolean]
- def editionDefaults: Lens[UpperPB, Seq[EditionDefault]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
- def featureSupport: Lens[UpperPB, FeatureSupport]
- def features: Lens[UpperPB, FeatureSet]
-
def
field[A](getter: (FieldOptions) ⇒ A)(setter: (FieldOptions, A) ⇒ FieldOptions): Lens[UpperPB, A]
Creates a sub-lens
Creates a sub-lens
- Definition Classes
- ObjectLens
-
def
field[A](lens: Lens[FieldOptions, A]): Lens[UpperPB, A]
Creates a sub-lens
Creates a sub-lens
- Definition Classes
- ObjectLens
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(u: UpperPB): FieldOptions
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
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jstype: Lens[UpperPB, JSType]
- def lazy: Lens[UpperPB, Boolean]
-
def
modify(f: (FieldOptions) ⇒ FieldOptions): 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
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionalCtype: Lens[UpperPB, scala.Option[CType]]
- def optionalDebugRedact: Lens[UpperPB, scala.Option[Boolean]]
- def optionalDeprecated: Lens[UpperPB, scala.Option[Boolean]]
- def optionalFeatureSupport: Lens[UpperPB, scala.Option[FeatureSupport]]
- def optionalFeatures: Lens[UpperPB, scala.Option[FeatureSet]]
- def optionalJstype: Lens[UpperPB, scala.Option[JSType]]
- def optionalLazy: Lens[UpperPB, scala.Option[Boolean]]
- def optionalPacked: Lens[UpperPB, scala.Option[Boolean]]
- def optionalRetention: Lens[UpperPB, scala.Option[OptionRetention]]
- def optionalUnverifiedLazy: Lens[UpperPB, scala.Option[Boolean]]
- def optionalWeak: Lens[UpperPB, scala.Option[Boolean]]
- def packed: Lens[UpperPB, Boolean]
- def retention: Lens[UpperPB, OptionRetention]
-
def
set(c: FieldOptions): 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: scala.Option[FieldOptions]): 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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def targets: Lens[UpperPB, Seq[OptionTargetType]]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def uninterpretedOption: Lens[UpperPB, Seq[UninterpretedOption]]
- def unverifiedLazy: Lens[UpperPB, Boolean]
-
def
update(ms: (Lens[FieldOptions, FieldOptions]) ⇒ Mutation[FieldOptions]*): 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 weak: Lens[UpperPB, Boolean]
-
def
zip[B](other: Lens[UpperPB, B]): Lens[UpperPB, (FieldOptions, 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