Package | Description |
---|---|
com.google.protobuf | |
com.google.protobuf.util |
Modifier and Type | Method and Description |
---|---|
Parser<FieldMask> |
FieldMask.getParserForType() |
static Parser<FieldMask> |
FieldMask.parser() |
Modifier and Type | Method and Description |
---|---|
FieldMask.Builder |
FieldMask.Builder.mergeFrom(FieldMask other) |
static FieldMask.Builder |
FieldMask.newBuilder(FieldMask prototype) |
Modifier and Type | Method and Description |
---|---|
static FieldMask |
FieldMaskUtil.fromFieldNumbers(Class<? extends Message> type,
int... fieldNumbers)
Constructs a FieldMask from the passed field numbers.
|
static FieldMask |
FieldMaskUtil.fromFieldNumbers(Class<? extends Message> type,
Iterable<Integer> fieldNumbers)
Constructs a FieldMask from the passed field numbers.
|
static FieldMask |
FieldMaskUtil.fromJsonString(String value)
Converts a field mask from a Proto3 JSON string, that is splitting the paths along commas and
converting from camel case to snake case.
|
static FieldMask |
FieldMaskUtil.fromString(Class<? extends Message> type,
String value)
Parses from a string to a FieldMask and validates all field paths.
|
static FieldMask |
FieldMaskUtil.fromString(String value)
Parses from a string to a FieldMask.
|
static FieldMask |
FieldMaskUtil.fromStringList(Class<? extends Message> type,
Iterable<String> paths)
Constructs a FieldMask for a list of field paths in a certain type.
|
static FieldMask |
FieldMaskUtil.intersection(FieldMask mask1,
FieldMask mask2)
Calculates the intersection of two FieldMasks.
|
static FieldMask |
FieldMaskUtil.normalize(FieldMask mask)
Converts a FieldMask to its canonical form.
|
static FieldMask |
FieldMaskUtil.union(FieldMask firstMask,
FieldMask secondMask,
FieldMask... otherMasks)
Creates a union of two or more FieldMasks.
|
Modifier and Type | Method and Description |
---|---|
static FieldMask |
FieldMaskUtil.intersection(FieldMask mask1,
FieldMask mask2)
Calculates the intersection of two FieldMasks.
|
static boolean |
FieldMaskUtil.isValid(Class<? extends Message> type,
FieldMask fieldMask)
Checks whether paths in a given fields mask are valid.
|
static boolean |
FieldMaskUtil.isValid(Descriptors.Descriptor descriptor,
FieldMask fieldMask)
Checks whether paths in a given fields mask are valid.
|
static void |
FieldMaskUtil.merge(FieldMask mask,
Message source,
Message.Builder destination)
Merges fields specified by a FieldMask from one message to another.
|
static void |
FieldMaskUtil.merge(FieldMask mask,
Message source,
Message.Builder destination,
FieldMaskUtil.MergeOptions options)
Merges fields specified by a FieldMask from one message to another with the
specified merge options.
|
static FieldMask |
FieldMaskUtil.normalize(FieldMask mask)
Converts a FieldMask to its canonical form.
|
static String |
FieldMaskUtil.toJsonString(FieldMask fieldMask)
Converts a field mask to a Proto3 JSON string, that is converting from snake case to camel
case and joining all paths into one string with commas.
|
static String |
FieldMaskUtil.toString(FieldMask fieldMask)
Converts a FieldMask to a string.
|
static FieldMask |
FieldMaskUtil.union(FieldMask firstMask,
FieldMask secondMask,
FieldMask... otherMasks)
Creates a union of two or more FieldMasks.
|
static FieldMask |
FieldMaskUtil.union(FieldMask firstMask,
FieldMask secondMask,
FieldMask... otherMasks)
Creates a union of two or more FieldMasks.
|
Copyright © 2008–2017. All rights reserved.