Uses of Class
com.google.protobuf.FieldMask
Packages that use FieldMask
-
Uses of FieldMask in com.google.protobuf
Fields in com.google.protobuf declared as FieldMaskFields in com.google.protobuf with type parameters of type FieldMaskMethods in com.google.protobuf that return FieldMaskModifier and TypeMethodDescriptionstatic FieldMaskFieldMask.getDefaultInstance()static FieldMaskFieldMask.parseDelimitedFrom(InputStream input) static FieldMaskFieldMask.parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static FieldMaskFieldMask.parseFrom(byte[] data) static FieldMaskFieldMask.parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static FieldMaskFieldMask.parseFrom(ByteString data) static FieldMaskFieldMask.parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static FieldMaskFieldMask.parseFrom(CodedInputStream input) static FieldMaskFieldMask.parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static FieldMaskFieldMask.parseFrom(InputStream input) static FieldMaskFieldMask.parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static FieldMaskFieldMask.parseFrom(ByteBuffer data) static FieldMaskFieldMask.parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) Methods in com.google.protobuf that return types with arguments of type FieldMaskMethods in com.google.protobuf with parameters of type FieldMaskModifier and TypeMethodDescriptionstatic FieldMask.BuilderFieldMask.newBuilder(FieldMask prototype) -
Uses of FieldMask in com.google.protobuf.util
Methods in com.google.protobuf.util that return FieldMaskModifier and TypeMethodDescriptionstatic FieldMaskFieldMaskUtil.fromFieldNumbers(Class<? extends Message> type, int... fieldNumbers) Constructs a FieldMask from the passed field numbers.static FieldMaskFieldMaskUtil.fromFieldNumbers(Class<? extends Message> type, Iterable<Integer> fieldNumbers) Constructs a FieldMask from the passed field numbers.static FieldMaskFieldMaskUtil.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 FieldMaskFieldMaskUtil.fromString(Class<? extends Message> type, String value) Parses from a string to a FieldMask and validates all field paths.static FieldMaskFieldMaskUtil.fromString(String value) Parses from a string to a FieldMask.private static FieldMaskFieldMaskUtil.fromStringList(com.google.common.base.Optional<Descriptors.Descriptor> descriptor, Iterable<String> paths) static FieldMaskFieldMaskUtil.fromStringList(Descriptors.Descriptor descriptor, Iterable<String> paths) Constructs a FieldMask for a list of field paths in a certain type.static FieldMaskFieldMaskUtil.fromStringList(Class<? extends Message> type, Iterable<String> paths) Constructs a FieldMask for a list of field paths in a certain type.static FieldMaskFieldMaskUtil.fromStringList(Iterable<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 FieldMaskConverts a FieldMask to its canonical form.static FieldMaskSubtractssecondMaskandotherMasksfromfirstMask.(package private) FieldMaskFieldMaskTree.toFieldMask()Converts this tree to a FieldMask.static FieldMaskCreates a union of two or more FieldMasks.Methods in com.google.protobuf.util with parameters of type FieldMaskModifier and TypeMethodDescriptionstatic 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 booleanChecks 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.(package private) FieldMaskTreeFieldMaskTree.mergeFromFieldMask(FieldMask mask) Merges all field paths in a FieldMask into this tree.static FieldMaskConverts a FieldMask to its canonical form.(package private) FieldMaskTreeFieldMaskTree.removeFromFieldMask(FieldMask mask) Removes all field paths inmaskfrom this tree.static FieldMaskSubtractssecondMaskandotherMasksfromfirstMask.static 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 StringConverts a FieldMask to a string.static <P extends Message>
PReturns the result of keeping only the masked fields of the given proto.static FieldMaskCreates a union of two or more FieldMasks.Constructors in com.google.protobuf.util with parameters of type FieldMaskModifierConstructorDescription(package private)FieldMaskTree(FieldMask mask) Creates a FieldMaskTree for a given FieldMask.