Class UploadResponse.Builder

    • Method Detail

      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        string name = 1;
        Specified by:
        getNameBytes in interface UploadResponseOrBuilder
        Returns:
        The bytes for name.
      • setName

        public UploadResponse.Builder setName​(java.lang.String value)
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public UploadResponse.Builder setNameBytes​(com.google.protobuf.ByteString value)
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getOwnerBytes

        public com.google.protobuf.ByteString getOwnerBytes()
        string owner = 2;
        Specified by:
        getOwnerBytes in interface UploadResponseOrBuilder
        Returns:
        The bytes for owner.
      • setOwner

        public UploadResponse.Builder setOwner​(java.lang.String value)
        string owner = 2;
        Parameters:
        value - The owner to set.
        Returns:
        This builder for chaining.
      • clearOwner

        public UploadResponse.Builder clearOwner()
        string owner = 2;
        Returns:
        This builder for chaining.
      • setOwnerBytes

        public UploadResponse.Builder setOwnerBytes​(com.google.protobuf.ByteString value)
        string owner = 2;
        Parameters:
        value - The bytes for owner to set.
        Returns:
        This builder for chaining.
      • getUploadIdBytes

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

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

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

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

        public com.google.protobuf.ByteString getStatusBytes()
        string status = 4;
        Specified by:
        getStatusBytes in interface UploadResponseOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public UploadResponse.Builder setStatus​(java.lang.String value)
        string status = 4;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public UploadResponse.Builder clearStatus()
        string status = 4;
        Returns:
        This builder for chaining.
      • setStatusBytes

        public UploadResponse.Builder setStatusBytes​(com.google.protobuf.ByteString value)
        string status = 4;
        Parameters:
        value - The bytes for status to set.
        Returns:
        This builder for chaining.
      • setParts

        public UploadResponse.Builder setParts​(int value)
        sint32 parts = 7;
        Parameters:
        value - The parts to set.
        Returns:
        This builder for chaining.
      • clearParts

        public UploadResponse.Builder clearParts()
        sint32 parts = 7;
        Returns:
        This builder for chaining.
      • setPublic

        public UploadResponse.Builder setPublic​(boolean value)
        bool public = 5;
        Parameters:
        value - The public to set.
        Returns:
        This builder for chaining.
      • clearPublic

        public UploadResponse.Builder clearPublic()
        bool public = 5;
        Returns:
        This builder for chaining.
      • addAllFiles

        public UploadResponse.Builder addAllFiles​(java.lang.Iterable<? extends FileUpload> values)
        repeated .streamlayer.files.FileUpload files = 6;
      • removeFiles

        public UploadResponse.Builder removeFiles​(int index)
        repeated .streamlayer.files.FileUpload files = 6;