Class FieldMask.Builder

    • 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 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​(ByteString value)
        repeated string paths = 1 [json_name = "paths"];
        Parameters:
        value - The bytes of the paths to add.
        Returns:
        This builder for chaining.