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 FieldMaskFieldMask.Builder. build()FieldMaskFieldMask.Builder. buildPartial()static FieldMaskFieldMask. getDefaultInstance()FieldMaskFieldMask.Builder. getDefaultInstanceForType()FieldMaskFieldMask. getDefaultInstanceForType()static FieldMaskFieldMask. parseDelimitedFrom(java.io.InputStream input)static FieldMaskFieldMask. parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FieldMaskFieldMask. parseFrom(byte[] data)static FieldMaskFieldMask. parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FieldMaskFieldMask. parseFrom(com.google.protobuf.ByteString data)static FieldMaskFieldMask. parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FieldMaskFieldMask. parseFrom(com.google.protobuf.CodedInputStream input)static FieldMaskFieldMask. parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FieldMaskFieldMask. parseFrom(java.io.InputStream input)static FieldMaskFieldMask. parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FieldMaskFieldMask. parseFrom(java.nio.ByteBuffer data)static FieldMaskFieldMask. parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Methods in com.google.protobuf that return types with arguments of type FieldMask Modifier and Type Method Description com.google.protobuf.Parser<FieldMask>FieldMask. getParserForType()static com.google.protobuf.Parser<FieldMask>FieldMask. parser()Methods in com.google.protobuf with parameters of type FieldMask Modifier and Type Method Description FieldMask.BuilderFieldMask.Builder. mergeFrom(FieldMask other)static FieldMask.BuilderFieldMask. 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 FieldMaskFieldMaskUtil. fromFieldNumbers(java.lang.Class<? extends Message> type, int... fieldNumbers)Constructs a FieldMask from the passed field numbers.static FieldMaskFieldMaskUtil. fromFieldNumbers(java.lang.Class<? extends Message> type, java.lang.Iterable<java.lang.Integer> fieldNumbers)Constructs a FieldMask from the passed field numbers.static FieldMaskFieldMaskUtil. 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 FieldMaskFieldMaskUtil. fromString(java.lang.Class<? extends Message> type, java.lang.String value)Parses from a string to a FieldMask and validates all field paths.static FieldMaskFieldMaskUtil. fromString(java.lang.String value)Parses from a string to a FieldMask.static FieldMaskFieldMaskUtil. 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 FieldMaskFieldMaskUtil. 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 FieldMaskFieldMaskUtil. fromStringList(java.lang.Iterable<java.lang.String> paths)Constructs a FieldMask for a list of field paths in a certain type.static FieldMaskFieldMaskUtil. intersection(FieldMask mask1, FieldMask mask2)Calculates the intersection of two FieldMasks.static FieldMaskFieldMaskUtil. normalize(FieldMask mask)Converts a FieldMask to its canonical form.static FieldMaskFieldMaskUtil. subtract(FieldMask firstMask, FieldMask secondMask, FieldMask... otherMasks)SubtractssecondMaskandotherMasksfromfirstMask.static FieldMaskFieldMaskUtil. 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 FieldMaskFieldMaskUtil. intersection(FieldMask mask1, FieldMask mask2)Calculates the intersection of two FieldMasks.static booleanFieldMaskUtil. isValid(Descriptors.Descriptor descriptor, FieldMask fieldMask)Checks whether paths in a given fields mask are valid.static booleanFieldMaskUtil. isValid(java.lang.Class<? extends Message> type, FieldMask fieldMask)Checks whether paths in a given fields mask are valid.static voidFieldMaskUtil. merge(FieldMask mask, Message source, Message.Builder destination)Merges fields specified by a FieldMask from one message to another.static voidFieldMaskUtil. 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 FieldMaskFieldMaskUtil. normalize(FieldMask mask)Converts a FieldMask to its canonical form.static FieldMaskFieldMaskUtil. subtract(FieldMask firstMask, FieldMask secondMask, FieldMask... otherMasks)SubtractssecondMaskandotherMasksfromfirstMask.static java.lang.StringFieldMaskUtil. 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.StringFieldMaskUtil. 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 <P extends Message>
PFieldMaskUtil. trim(FieldMask mask, P source, FieldMaskUtil.TrimOptions options)Returns the result of keeping only the masked fields of the given proto with the specified trim options.static FieldMaskFieldMaskUtil. union(FieldMask firstMask, FieldMask secondMask, FieldMask... otherMasks)Creates a union of two or more FieldMasks.
-