Uses of Class
com.google.protobuf.FieldMask
-
Packages that use FieldMask Package Description com.google.protobuf com.google.protobuf.util -
-
Uses of FieldMask in com.google.protobuf
Methods in com.google.protobuf that return FieldMask Modifier and Type Method Description FieldMask
FieldMask.Builder. build()
FieldMask
FieldMask.Builder. buildPartial()
static FieldMask
FieldMask. getDefaultInstance()
FieldMask
FieldMask.Builder. getDefaultInstanceForType()
FieldMask
FieldMask. 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(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)
static FieldMask
FieldMask. parseFrom(java.nio.ByteBuffer data)
static FieldMask
FieldMask. parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Methods in com.google.protobuf that return types with arguments of type FieldMask Modifier and Type Method Description Parser<FieldMask>
FieldMask. getParserForType()
static Parser<FieldMask>
FieldMask. parser()
Methods in com.google.protobuf with parameters of type FieldMask Modifier and Type Method Description FieldMask.Builder
FieldMask.Builder. mergeFrom(FieldMask other)
static FieldMask.Builder
FieldMask. newBuilder(FieldMask prototype)
-
Uses of FieldMask in com.google.protobuf.util
Methods in com.google.protobuf.util that return FieldMask Modifier and Type Method 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(Descriptors.Descriptor descriptor, java.lang.Iterable<java.lang.String> paths)
Constructs a FieldMask for a list of field paths in a certain type.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. fromStringList(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.static FieldMask
FieldMaskUtil. subtract(FieldMask firstMask, FieldMask secondMask, FieldMask... otherMasks)
SubtractssecondMask
andotherMasks
fromfirstMask
.static FieldMask
FieldMaskUtil. union(FieldMask firstMask, FieldMask secondMask, FieldMask... otherMasks)
Creates a union of two or more FieldMasks.Methods in com.google.protobuf.util with parameters of type FieldMask Modifier and Type Method Description static FieldMask
FieldMaskUtil. intersection(FieldMask mask1, FieldMask mask2)
Calculates the intersection of two FieldMasks.static boolean
FieldMaskUtil. isValid(Descriptors.Descriptor descriptor, FieldMask fieldMask)
Checks whether paths in a given fields mask are valid.static boolean
FieldMaskUtil. isValid(java.lang.Class<? extends Message> type, 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 FieldMask
FieldMaskUtil. subtract(FieldMask firstMask, FieldMask secondMask, FieldMask... otherMasks)
SubtractssecondMask
andotherMasks
fromfirstMask
.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 <P extends Message>
PFieldMaskUtil. trim(FieldMask mask, P source)
Returns the result of keeping only the masked fields of the given proto.static FieldMask
FieldMaskUtil. union(FieldMask firstMask, FieldMask secondMask, FieldMask... otherMasks)
Creates a union of two or more FieldMasks.
-