Class FieldMask.Builder

  • All Implemented Interfaces:
    FieldMaskOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, java.lang.Cloneable
    Enclosing class:
    FieldMask

    public static final class FieldMask.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<FieldMask,​FieldMask.Builder>
    implements FieldMaskOrBuilder
    Protobuf type google.protobuf.FieldMask
    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FieldMask.Builder addAllPaths​(java.lang.Iterable<java.lang.String> values)
      repeated string paths = 1 [json_name = "paths"];
      FieldMask.Builder addPaths​(java.lang.String value)
      repeated string paths = 1 [json_name = "paths"];
      FieldMask.Builder addPathsBytes​(com.google.protobuf.ByteString value)
      repeated string paths = 1 [json_name = "paths"];
      FieldMask.Builder clearPaths()
      repeated string paths = 1 [json_name = "paths"];
      java.lang.String getPaths​(int index)
      repeated string paths = 1 [json_name = "paths"];
      com.google.protobuf.ByteString getPathsBytes​(int index)
      repeated string paths = 1 [json_name = "paths"];
      int getPathsCount()
      repeated string paths = 1 [json_name = "paths"];
      java.util.List<java.lang.String> getPathsList()
      repeated string paths = 1 [json_name = "paths"];
      FieldMask.Builder setPaths​(int index, java.lang.String value)
      repeated string paths = 1 [json_name = "paths"];
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getPathsList

        public java.util.List<java.lang.String> getPathsList()
        repeated string paths = 1 [json_name = "paths"];
        Specified by:
        getPathsList in interface FieldMaskOrBuilder
        Returns:
        A list containing the paths.
      • getPathsCount

        public int getPathsCount()
        repeated string paths = 1 [json_name = "paths"];
        Specified by:
        getPathsCount in interface FieldMaskOrBuilder
        Returns:
        The count of paths.
      • getPaths

        public java.lang.String getPaths​(int index)
        repeated string paths = 1 [json_name = "paths"];
        Specified by:
        getPaths in interface FieldMaskOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The paths at the given index.
      • getPathsBytes

        public com.google.protobuf.ByteString getPathsBytes​(int index)
        repeated string paths = 1 [json_name = "paths"];
        Specified by:
        getPathsBytes in interface FieldMaskOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the paths at the given index.
      • setPaths

        public FieldMask.Builder setPaths​(int index,
                                          java.lang.String value)
        repeated string paths = 1 [json_name = "paths"];
        Parameters:
        index - The index to set the value at.
        value - The paths to set.
        Returns:
        This builder for chaining.
      • addPaths

        public FieldMask.Builder addPaths​(java.lang.String value)
        repeated string paths = 1 [json_name = "paths"];
        Parameters:
        value - The paths to add.
        Returns:
        This builder for chaining.
      • addAllPaths

        public FieldMask.Builder addAllPaths​(java.lang.Iterable<java.lang.String> values)
        repeated string paths = 1 [json_name = "paths"];
        Parameters:
        values - The paths to add.
        Returns:
        This builder for chaining.
      • clearPaths

        public FieldMask.Builder clearPaths()
        repeated string paths = 1 [json_name = "paths"];
        Returns:
        This builder for chaining.
      • addPathsBytes

        public FieldMask.Builder addPathsBytes​(com.google.protobuf.ByteString value)
        repeated string paths = 1 [json_name = "paths"];
        Parameters:
        value - The bytes of the paths to add.
        Returns:
        This builder for chaining.