Class FileUpload.Builder

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

    public static final class FileUpload.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<FileUpload,​FileUpload.Builder>
    implements FileUploadOrBuilder
    Protobuf type streamlayer.files.FileUpload
    • Field Summary

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

        instance
    • Method Detail

      • getLocation

        public java.lang.String getLocation()
        string location = 1 [json_name = "location"];
        Specified by:
        getLocation in interface FileUploadOrBuilder
        Returns:
        The location.
      • getLocationBytes

        public com.google.protobuf.ByteString getLocationBytes()
        string location = 1 [json_name = "location"];
        Specified by:
        getLocationBytes in interface FileUploadOrBuilder
        Returns:
        The bytes for location.
      • setLocation

        public FileUpload.Builder setLocation​(java.lang.String value)
        string location = 1 [json_name = "location"];
        Parameters:
        value - The location to set.
        Returns:
        This builder for chaining.
      • clearLocation

        public FileUpload.Builder clearLocation()
        string location = 1 [json_name = "location"];
        Returns:
        This builder for chaining.
      • setLocationBytes

        public FileUpload.Builder setLocationBytes​(com.google.protobuf.ByteString value)
        string location = 1 [json_name = "location"];
        Parameters:
        value - The bytes for location to set.
        Returns:
        This builder for chaining.
      • getFilename

        public java.lang.String getFilename()
        string filename = 2 [json_name = "filename"];
        Specified by:
        getFilename in interface FileUploadOrBuilder
        Returns:
        The filename.
      • getFilenameBytes

        public com.google.protobuf.ByteString getFilenameBytes()
        string filename = 2 [json_name = "filename"];
        Specified by:
        getFilenameBytes in interface FileUploadOrBuilder
        Returns:
        The bytes for filename.
      • setFilename

        public FileUpload.Builder setFilename​(java.lang.String value)
        string filename = 2 [json_name = "filename"];
        Parameters:
        value - The filename to set.
        Returns:
        This builder for chaining.
      • clearFilename

        public FileUpload.Builder clearFilename()
        string filename = 2 [json_name = "filename"];
        Returns:
        This builder for chaining.
      • setFilenameBytes

        public FileUpload.Builder setFilenameBytes​(com.google.protobuf.ByteString value)
        string filename = 2 [json_name = "filename"];
        Parameters:
        value - The bytes for filename to set.
        Returns:
        This builder for chaining.
      • getUploadId

        public java.lang.String getUploadId()
        string upload_id = 3 [json_name = "uploadId"];
        Specified by:
        getUploadId in interface FileUploadOrBuilder
        Returns:
        The uploadId.
      • getUploadIdBytes

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

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

        public FileUpload.Builder clearUploadId()
        string upload_id = 3 [json_name = "uploadId"];
        Returns:
        This builder for chaining.
      • setUploadIdBytes

        public FileUpload.Builder setUploadIdBytes​(com.google.protobuf.ByteString value)
        string upload_id = 3 [json_name = "uploadId"];
        Parameters:
        value - The bytes for uploadId to set.
        Returns:
        This builder for chaining.
      • getMd5Hash

        public java.lang.String getMd5Hash()
        string md5_hash = 4 [json_name = "md5Hash"];
        Specified by:
        getMd5Hash in interface FileUploadOrBuilder
        Returns:
        The md5Hash.
      • getMd5HashBytes

        public com.google.protobuf.ByteString getMd5HashBytes()
        string md5_hash = 4 [json_name = "md5Hash"];
        Specified by:
        getMd5HashBytes in interface FileUploadOrBuilder
        Returns:
        The bytes for md5Hash.
      • setMd5Hash

        public FileUpload.Builder setMd5Hash​(java.lang.String value)
        string md5_hash = 4 [json_name = "md5Hash"];
        Parameters:
        value - The md5Hash to set.
        Returns:
        This builder for chaining.
      • clearMd5Hash

        public FileUpload.Builder clearMd5Hash()
        string md5_hash = 4 [json_name = "md5Hash"];
        Returns:
        This builder for chaining.
      • setMd5HashBytes

        public FileUpload.Builder setMd5HashBytes​(com.google.protobuf.ByteString value)
        string md5_hash = 4 [json_name = "md5Hash"];
        Parameters:
        value - The bytes for md5Hash to set.
        Returns:
        This builder for chaining.
      • getContentType

        public java.lang.String getContentType()
        string content_type = 5 [json_name = "contentType"];
        Specified by:
        getContentType in interface FileUploadOrBuilder
        Returns:
        The contentType.
      • getContentTypeBytes

        public com.google.protobuf.ByteString getContentTypeBytes()
        string content_type = 5 [json_name = "contentType"];
        Specified by:
        getContentTypeBytes in interface FileUploadOrBuilder
        Returns:
        The bytes for contentType.
      • setContentType

        public FileUpload.Builder setContentType​(java.lang.String value)
        string content_type = 5 [json_name = "contentType"];
        Parameters:
        value - The contentType to set.
        Returns:
        This builder for chaining.
      • clearContentType

        public FileUpload.Builder clearContentType()
        string content_type = 5 [json_name = "contentType"];
        Returns:
        This builder for chaining.
      • setContentTypeBytes

        public FileUpload.Builder setContentTypeBytes​(com.google.protobuf.ByteString value)
        string content_type = 5 [json_name = "contentType"];
        Parameters:
        value - The bytes for contentType to set.
        Returns:
        This builder for chaining.
      • getContentLength

        public int getContentLength()
        sint32 content_length = 6 [json_name = "contentLength"];
        Specified by:
        getContentLength in interface FileUploadOrBuilder
        Returns:
        The contentLength.
      • setContentLength

        public FileUpload.Builder setContentLength​(int value)
        sint32 content_length = 6 [json_name = "contentLength"];
        Parameters:
        value - The contentLength to set.
        Returns:
        This builder for chaining.
      • clearContentLength

        public FileUpload.Builder clearContentLength()
        sint32 content_length = 6 [json_name = "contentLength"];
        Returns:
        This builder for chaining.