implicit class FeatureSetLens[UpperPB] extends ObjectLens[UpperPB, FeatureSet]
- Alphabetic
- By Inheritance
- FeatureSetLens
- ObjectLens
- Lens
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new FeatureSetLens(_l: Lens[UpperPB, FeatureSet])
Value Members
-
final
def
!=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
:=(a: FeatureSet): 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[FeatureSet, 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 enumType: Lens[UpperPB, EnumType]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
field[A](getter: (FeatureSet) ⇒ A)(setter: (FeatureSet, A) ⇒ FeatureSet): Lens[UpperPB, A]
Creates a sub-lens
Creates a sub-lens
- Definition Classes
- ObjectLens
-
def
field[A](lens: Lens[FeatureSet, A]): Lens[UpperPB, A]
Creates a sub-lens
Creates a sub-lens
- Definition Classes
- ObjectLens
- def fieldPresence: Lens[UpperPB, FieldPresence]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(u: UpperPB): FeatureSet
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 jsonFormat: Lens[UpperPB, JsonFormat]
- def messageEncoding: Lens[UpperPB, MessageEncoding]
-
def
modify(f: (FeatureSet) ⇒ FeatureSet): 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 optionalEnumType: Lens[UpperPB, scala.Option[EnumType]]
- def optionalFieldPresence: Lens[UpperPB, scala.Option[FieldPresence]]
- def optionalJsonFormat: Lens[UpperPB, scala.Option[JsonFormat]]
- def optionalMessageEncoding: Lens[UpperPB, scala.Option[MessageEncoding]]
- def optionalRepeatedFieldEncoding: Lens[UpperPB, scala.Option[RepeatedFieldEncoding]]
- def optionalUtf8Validation: Lens[UpperPB, scala.Option[Utf8Validation]]
- def repeatedFieldEncoding: Lens[UpperPB, RepeatedFieldEncoding]
-
def
set(c: FeatureSet): 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[FeatureSet]): 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
toString(): String
- Definition Classes
- AnyRef → Any
-
def
update(ms: (Lens[FeatureSet, FeatureSet]) ⇒ Mutation[FeatureSet]*): Mutation[UpperPB]
- Definition Classes
- ObjectLens
- def utf8Validation: Lens[UpperPB, Utf8Validation]
-
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, (FeatureSet, 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