FieldMaskUtil
scalapb.FieldMaskUtil
object FieldMaskUtil
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FieldMaskUtil.type
Members list
Value members
Concrete methods
def applyFieldMask[M <: GeneratedMessage : GeneratedMessageCompanion](message: M, fieldMask: FieldMask): M
Applies a field mask to a message.
Applies a field mask to a message.
Attributes
def containsFieldNumber[M <: GeneratedMessage : GeneratedMessageCompanion](fieldMask: FieldMask, fieldNumber: Int): Boolean
Checks that a field mask selects a certain message field number.
Checks that a field mask selects a certain message field number.
Attributes
def fromFieldNumbers[M <: GeneratedMessage : GeneratedMessageCompanion](fieldNumbers: Int*): Option[FieldMask]
Constructs a field mask based on message field numbers.
Constructs a field mask based on message field numbers.
Attributes
- Returns
-
Some(mask) if all fields number are valid,
None
otherwise.
Checks that field masks corresponds to message schema.
Checks that field masks corresponds to message schema.
Attributes
def selectFieldNumbers[M <: GeneratedMessage : GeneratedMessageCompanion](fieldNumberPredicate: Int => Boolean): FieldMask
Constructs a field mask based on a predicate for message field numbers.
Constructs a field mask based on a predicate for message field numbers.
Attributes
In this article