Package | Description |
---|---|
com.google.protobuf | |
com.google.protobuf.util |
Modifier and Type | Field and Description |
---|---|
private static FieldMask |
FieldMask.DEFAULT_INSTANCE |
Modifier and Type | Field and Description |
---|---|
private static Parser<FieldMask> |
FieldMask.PARSER |
Modifier and Type | Method and Description |
---|---|
FieldMask |
FieldMask.Builder.build() |
FieldMask |
FieldMask.Builder.buildPartial() |
static FieldMask |
FieldMask.getDefaultInstance() |
FieldMask |
FieldMask.getDefaultInstanceForType() |
FieldMask |
FieldMask.Builder.getDefaultInstanceForType() |
static FieldMask |
FieldMask.parseDelimitedFrom(java.io.InputStream input) |
static FieldMask |
FieldMask.parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static FieldMask |
FieldMask.parseFrom(byte[] data) |
static FieldMask |
FieldMask.parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static FieldMask |
FieldMask.parseFrom(java.nio.ByteBuffer data) |
static FieldMask |
FieldMask.parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static FieldMask |
FieldMask.parseFrom(ByteString data) |
static FieldMask |
FieldMask.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static FieldMask |
FieldMask.parseFrom(CodedInputStream input) |
static FieldMask |
FieldMask.parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static FieldMask |
FieldMask.parseFrom(java.io.InputStream input) |
static FieldMask |
FieldMask.parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
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(java.lang.Class<? extends Message> type,
int... fieldNumbers)
Constructs a FieldMask from the passed field numbers.
|
static FieldMask |
FieldMaskUtil.fromFieldNumbers(java.lang.Class<? extends Message> type,
java.lang.Iterable<java.lang.Integer> fieldNumbers)
Constructs a FieldMask from the passed field numbers.
|
static FieldMask |
FieldMaskUtil.fromJsonString(java.lang.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(java.lang.Class<? extends Message> type,
java.lang.String value)
Parses from a string to a FieldMask and validates all field paths.
|
static FieldMask |
FieldMaskUtil.fromString(java.lang.String value)
Parses from a string to a FieldMask.
|
static FieldMask |
FieldMaskUtil.fromStringList(java.lang.Class<? extends Message> type,
java.lang.Iterable<java.lang.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.
|
(package private) FieldMask |
FieldMaskTree.toFieldMask()
Converts this tree to a FieldMask.
|
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(java.lang.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.
|
(package private) FieldMaskTree |
FieldMaskTree.mergeFromFieldMask(FieldMask mask)
Merges all field paths in a FieldMask into this tree.
|
static FieldMask |
FieldMaskUtil.normalize(FieldMask mask)
Converts a FieldMask to its canonical form.
|
static java.lang.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 java.lang.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.
|
Constructor and Description |
---|
FieldMaskTree(FieldMask mask)
Creates a FieldMaskTree for a given FieldMask.
|