Class DownloadRequest.Builder

    • Method Detail

      • getUploadIdBytes

        public com.google.protobuf.ByteString getUploadIdBytes()
        string upload_id = 1;
        Specified by:
        getUploadIdBytes in interface DownloadRequestOrBuilder
        Returns:
        The bytes for uploadId.
      • setUploadId

        public DownloadRequest.Builder setUploadId​(java.lang.String value)
        string upload_id = 1;
        Parameters:
        value - The uploadId to set.
        Returns:
        This builder for chaining.
      • clearUploadId

        public DownloadRequest.Builder clearUploadId()
        string upload_id = 1;
        Returns:
        This builder for chaining.
      • setUploadIdBytes

        public DownloadRequest.Builder setUploadIdBytes​(com.google.protobuf.ByteString value)
        string upload_id = 1;
        Parameters:
        value - The bytes for uploadId to set.
        Returns:
        This builder for chaining.
      • getUsernameBytes

        public com.google.protobuf.ByteString getUsernameBytes()
        string username = 2;
        Specified by:
        getUsernameBytes in interface DownloadRequestOrBuilder
        Returns:
        The bytes for username.
      • setUsername

        public DownloadRequest.Builder setUsername​(java.lang.String value)
        string username = 2;
        Parameters:
        value - The username to set.
        Returns:
        This builder for chaining.
      • clearUsername

        public DownloadRequest.Builder clearUsername()
        string username = 2;
        Returns:
        This builder for chaining.
      • setUsernameBytes

        public DownloadRequest.Builder setUsernameBytes​(com.google.protobuf.ByteString value)
        string username = 2;
        Parameters:
        value - The bytes for username to set.
        Returns:
        This builder for chaining.
      • setRename

        public DownloadRequest.Builder setRename​(boolean value)
        bool rename = 3;
        Parameters:
        value - The rename to set.
        Returns:
        This builder for chaining.
      • getTypesList

        public java.util.List<java.lang.String> getTypesList()
        repeated string types = 4;
        Specified by:
        getTypesList in interface DownloadRequestOrBuilder
        Returns:
        A list containing the types.
      • getTypes

        public java.lang.String getTypes​(int index)
        repeated string types = 4;
        Specified by:
        getTypes in interface DownloadRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The types at the given index.
      • getTypesBytes

        public com.google.protobuf.ByteString getTypesBytes​(int index)
        repeated string types = 4;
        Specified by:
        getTypesBytes in interface DownloadRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the types at the given index.
      • setTypes

        public DownloadRequest.Builder setTypes​(int index,
                                                java.lang.String value)
        repeated string types = 4;
        Parameters:
        index - The index to set the value at.
        value - The types to set.
        Returns:
        This builder for chaining.
      • addTypes

        public DownloadRequest.Builder addTypes​(java.lang.String value)
        repeated string types = 4;
        Parameters:
        value - The types to add.
        Returns:
        This builder for chaining.
      • addAllTypes

        public DownloadRequest.Builder addAllTypes​(java.lang.Iterable<java.lang.String> values)
        repeated string types = 4;
        Parameters:
        values - The types to add.
        Returns:
        This builder for chaining.
      • clearTypes

        public DownloadRequest.Builder clearTypes()
        repeated string types = 4;
        Returns:
        This builder for chaining.
      • addTypesBytes

        public DownloadRequest.Builder addTypesBytes​(com.google.protobuf.ByteString value)
        repeated string types = 4;
        Parameters:
        value - The bytes of the types to add.
        Returns:
        This builder for chaining.