Class FileData.Builder

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

    public static final class FileData.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<FileData,​FileData.Builder>
    implements FileDataOrBuilder
    Protobuf type streamlayer.files.FileData
    • Method Detail

      • getName

        public java.lang.String getName()
        string name = 1 [json_name = "name"];
        Specified by:
        getName in interface FileDataOrBuilder
        Returns:
        The name.
      • getNameBytes

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

        public FileData.Builder setName​(java.lang.String value)
        string name = 1 [json_name = "name"];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public FileData.Builder clearName()
        string name = 1 [json_name = "name"];
        Returns:
        This builder for chaining.
      • setNameBytes

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

        public java.util.List<java.lang.Integer> getControlsDataList()
        repeated int32 controls_data = 2 [json_name = "controlsData"];
        Specified by:
        getControlsDataList in interface FileDataOrBuilder
        Returns:
        A list containing the controlsData.
      • getControlsDataCount

        public int getControlsDataCount()
        repeated int32 controls_data = 2 [json_name = "controlsData"];
        Specified by:
        getControlsDataCount in interface FileDataOrBuilder
        Returns:
        The count of controlsData.
      • getControlsData

        public int getControlsData​(int index)
        repeated int32 controls_data = 2 [json_name = "controlsData"];
        Specified by:
        getControlsData in interface FileDataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The controlsData at the given index.
      • setControlsData

        public FileData.Builder setControlsData​(int index,
                                                int value)
        repeated int32 controls_data = 2 [json_name = "controlsData"];
        Parameters:
        value - The controlsData to set.
        Returns:
        This builder for chaining.
      • addControlsData

        public FileData.Builder addControlsData​(int value)
        repeated int32 controls_data = 2 [json_name = "controlsData"];
        Parameters:
        value - The controlsData to add.
        Returns:
        This builder for chaining.
      • addAllControlsData

        public FileData.Builder addAllControlsData​(java.lang.Iterable<? extends java.lang.Integer> values)
        repeated int32 controls_data = 2 [json_name = "controlsData"];
        Parameters:
        values - The controlsData to add.
        Returns:
        This builder for chaining.
      • clearControlsData

        public FileData.Builder clearControlsData()
        repeated int32 controls_data = 2 [json_name = "controlsData"];
        Returns:
        This builder for chaining.
      • getTagsList

        public java.util.List<java.lang.String> getTagsList()
        repeated string tags = 3 [json_name = "tags"];
        Specified by:
        getTagsList in interface FileDataOrBuilder
        Returns:
        A list containing the tags.
      • getTagsCount

        public int getTagsCount()
        repeated string tags = 3 [json_name = "tags"];
        Specified by:
        getTagsCount in interface FileDataOrBuilder
        Returns:
        The count of tags.
      • getTags

        public java.lang.String getTags​(int index)
        repeated string tags = 3 [json_name = "tags"];
        Specified by:
        getTags in interface FileDataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The tags at the given index.
      • getTagsBytes

        public com.google.protobuf.ByteString getTagsBytes​(int index)
        repeated string tags = 3 [json_name = "tags"];
        Specified by:
        getTagsBytes in interface FileDataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tags at the given index.
      • setTags

        public FileData.Builder setTags​(int index,
                                        java.lang.String value)
        repeated string tags = 3 [json_name = "tags"];
        Parameters:
        index - The index to set the value at.
        value - The tags to set.
        Returns:
        This builder for chaining.
      • addTags

        public FileData.Builder addTags​(java.lang.String value)
        repeated string tags = 3 [json_name = "tags"];
        Parameters:
        value - The tags to add.
        Returns:
        This builder for chaining.
      • addAllTags

        public FileData.Builder addAllTags​(java.lang.Iterable<java.lang.String> values)
        repeated string tags = 3 [json_name = "tags"];
        Parameters:
        values - The tags to add.
        Returns:
        This builder for chaining.
      • clearTags

        public FileData.Builder clearTags()
        repeated string tags = 3 [json_name = "tags"];
        Returns:
        This builder for chaining.
      • addTagsBytes

        public FileData.Builder addTagsBytes​(com.google.protobuf.ByteString value)
        repeated string tags = 3 [json_name = "tags"];
        Parameters:
        value - The bytes of the tags to add.
        Returns:
        This builder for chaining.
      • getType

        public java.lang.String getType()
        string type = 4 [json_name = "type"];
        Specified by:
        getType in interface FileDataOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
        string type = 4 [json_name = "type"];
        Specified by:
        getTypeBytes in interface FileDataOrBuilder
        Returns:
        The bytes for type.
      • setType

        public FileData.Builder setType​(java.lang.String value)
        string type = 4 [json_name = "type"];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public FileData.Builder clearType()
        string type = 4 [json_name = "type"];
        Returns:
        This builder for chaining.
      • setTypeBytes

        public FileData.Builder setTypeBytes​(com.google.protobuf.ByteString value)
        string type = 4 [json_name = "type"];
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • getAlias

        public java.lang.String getAlias()
        string alias = 5 [json_name = "alias"];
        Specified by:
        getAlias in interface FileDataOrBuilder
        Returns:
        The alias.
      • getAliasBytes

        public com.google.protobuf.ByteString getAliasBytes()
        string alias = 5 [json_name = "alias"];
        Specified by:
        getAliasBytes in interface FileDataOrBuilder
        Returns:
        The bytes for alias.
      • setAlias

        public FileData.Builder setAlias​(java.lang.String value)
        string alias = 5 [json_name = "alias"];
        Parameters:
        value - The alias to set.
        Returns:
        This builder for chaining.
      • clearAlias

        public FileData.Builder clearAlias()
        string alias = 5 [json_name = "alias"];
        Returns:
        This builder for chaining.
      • setAliasBytes

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

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

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

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

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

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

        public java.lang.String getStartedAt()
        string started_at = 7 [json_name = "startedAt"];
        Specified by:
        getStartedAt in interface FileDataOrBuilder
        Returns:
        The startedAt.
      • getStartedAtBytes

        public com.google.protobuf.ByteString getStartedAtBytes()
        string started_at = 7 [json_name = "startedAt"];
        Specified by:
        getStartedAtBytes in interface FileDataOrBuilder
        Returns:
        The bytes for startedAt.
      • setStartedAt

        public FileData.Builder setStartedAt​(java.lang.String value)
        string started_at = 7 [json_name = "startedAt"];
        Parameters:
        value - The startedAt to set.
        Returns:
        This builder for chaining.
      • clearStartedAt

        public FileData.Builder clearStartedAt()
        string started_at = 7 [json_name = "startedAt"];
        Returns:
        This builder for chaining.
      • setStartedAtBytes

        public FileData.Builder setStartedAtBytes​(com.google.protobuf.ByteString value)
        string started_at = 7 [json_name = "startedAt"];
        Parameters:
        value - The bytes for startedAt to set.
        Returns:
        This builder for chaining.
      • getFiles

        public java.lang.String getFiles()
        string files = 8 [json_name = "files"];
        Specified by:
        getFiles in interface FileDataOrBuilder
        Returns:
        The files.
      • getFilesBytes

        public com.google.protobuf.ByteString getFilesBytes()
        string files = 8 [json_name = "files"];
        Specified by:
        getFilesBytes in interface FileDataOrBuilder
        Returns:
        The bytes for files.
      • setFiles

        public FileData.Builder setFiles​(java.lang.String value)
        string files = 8 [json_name = "files"];
        Parameters:
        value - The files to set.
        Returns:
        This builder for chaining.
      • clearFiles

        public FileData.Builder clearFiles()
        string files = 8 [json_name = "files"];
        Returns:
        This builder for chaining.
      • setFilesBytes

        public FileData.Builder setFilesBytes​(com.google.protobuf.ByteString value)
        string files = 8 [json_name = "files"];
        Parameters:
        value - The bytes for files to set.
        Returns:
        This builder for chaining.
      • getParts

        public int getParts()
        int32 parts = 9 [json_name = "parts"];
        Specified by:
        getParts in interface FileDataOrBuilder
        Returns:
        The parts.
      • setParts

        public FileData.Builder setParts​(int value)
        int32 parts = 9 [json_name = "parts"];
        Parameters:
        value - The parts to set.
        Returns:
        This builder for chaining.
      • clearParts

        public FileData.Builder clearParts()
        int32 parts = 9 [json_name = "parts"];
        Returns:
        This builder for chaining.
      • getContentLength

        public int getContentLength()
        int32 content_length = 10 [json_name = "contentLength"];
        Specified by:
        getContentLength in interface FileDataOrBuilder
        Returns:
        The contentLength.
      • setContentLength

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

        public FileData.Builder clearContentLength()
        int32 content_length = 10 [json_name = "contentLength"];
        Returns:
        This builder for chaining.
      • getStatus

        public java.lang.String getStatus()
        string status = 11 [json_name = "status"];
        Specified by:
        getStatus in interface FileDataOrBuilder
        Returns:
        The status.
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
        string status = 11 [json_name = "status"];
        Specified by:
        getStatusBytes in interface FileDataOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public FileData.Builder setStatus​(java.lang.String value)
        string status = 11 [json_name = "status"];
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public FileData.Builder clearStatus()
        string status = 11 [json_name = "status"];
        Returns:
        This builder for chaining.
      • setStatusBytes

        public FileData.Builder setStatusBytes​(com.google.protobuf.ByteString value)
        string status = 11 [json_name = "status"];
        Parameters:
        value - The bytes for status to set.
        Returns:
        This builder for chaining.
      • getOwner

        public java.lang.String getOwner()
        string owner = 12 [json_name = "owner"];
        Specified by:
        getOwner in interface FileDataOrBuilder
        Returns:
        The owner.
      • getOwnerBytes

        public com.google.protobuf.ByteString getOwnerBytes()
        string owner = 12 [json_name = "owner"];
        Specified by:
        getOwnerBytes in interface FileDataOrBuilder
        Returns:
        The bytes for owner.
      • setOwner

        public FileData.Builder setOwner​(java.lang.String value)
        string owner = 12 [json_name = "owner"];
        Parameters:
        value - The owner to set.
        Returns:
        This builder for chaining.
      • clearOwner

        public FileData.Builder clearOwner()
        string owner = 12 [json_name = "owner"];
        Returns:
        This builder for chaining.
      • setOwnerBytes

        public FileData.Builder setOwnerBytes​(com.google.protobuf.ByteString value)
        string owner = 12 [json_name = "owner"];
        Parameters:
        value - The bytes for owner to set.
        Returns:
        This builder for chaining.
      • getBucket

        public java.lang.String getBucket()
        string bucket = 13 [json_name = "bucket"];
        Specified by:
        getBucket in interface FileDataOrBuilder
        Returns:
        The bucket.
      • getBucketBytes

        public com.google.protobuf.ByteString getBucketBytes()
        string bucket = 13 [json_name = "bucket"];
        Specified by:
        getBucketBytes in interface FileDataOrBuilder
        Returns:
        The bytes for bucket.
      • setBucket

        public FileData.Builder setBucket​(java.lang.String value)
        string bucket = 13 [json_name = "bucket"];
        Parameters:
        value - The bucket to set.
        Returns:
        This builder for chaining.
      • clearBucket

        public FileData.Builder clearBucket()
        string bucket = 13 [json_name = "bucket"];
        Returns:
        This builder for chaining.
      • setBucketBytes

        public FileData.Builder setBucketBytes​(com.google.protobuf.ByteString value)
        string bucket = 13 [json_name = "bucket"];
        Parameters:
        value - The bytes for bucket to set.
        Returns:
        This builder for chaining.
      • getUploadType

        public java.lang.String getUploadType()
        string upload_type = 14 [json_name = "uploadType"];
        Specified by:
        getUploadType in interface FileDataOrBuilder
        Returns:
        The uploadType.
      • getUploadTypeBytes

        public com.google.protobuf.ByteString getUploadTypeBytes()
        string upload_type = 14 [json_name = "uploadType"];
        Specified by:
        getUploadTypeBytes in interface FileDataOrBuilder
        Returns:
        The bytes for uploadType.
      • setUploadType

        public FileData.Builder setUploadType​(java.lang.String value)
        string upload_type = 14 [json_name = "uploadType"];
        Parameters:
        value - The uploadType to set.
        Returns:
        This builder for chaining.
      • clearUploadType

        public FileData.Builder clearUploadType()
        string upload_type = 14 [json_name = "uploadType"];
        Returns:
        This builder for chaining.
      • setUploadTypeBytes

        public FileData.Builder setUploadTypeBytes​(com.google.protobuf.ByteString value)
        string upload_type = 14 [json_name = "uploadType"];
        Parameters:
        value - The bytes for uploadType to set.
        Returns:
        This builder for chaining.
      • getPublic

        public int getPublic()
        int32 public = 15 [json_name = "public"];
        Specified by:
        getPublic in interface FileDataOrBuilder
        Returns:
        The public.
      • setPublic

        public FileData.Builder setPublic​(int value)
        int32 public = 15 [json_name = "public"];
        Parameters:
        value - The public to set.
        Returns:
        This builder for chaining.
      • clearPublic

        public FileData.Builder clearPublic()
        int32 public = 15 [json_name = "public"];
        Returns:
        This builder for chaining.
      • getTemporary

        public int getTemporary()
        int32 temporary = 16 [json_name = "temporary"];
        Specified by:
        getTemporary in interface FileDataOrBuilder
        Returns:
        The temporary.
      • setTemporary

        public FileData.Builder setTemporary​(int value)
        int32 temporary = 16 [json_name = "temporary"];
        Parameters:
        value - The temporary to set.
        Returns:
        This builder for chaining.
      • clearTemporary

        public FileData.Builder clearTemporary()
        int32 temporary = 16 [json_name = "temporary"];
        Returns:
        This builder for chaining.
      • getUnlisted

        public int getUnlisted()
        int32 unlisted = 17 [json_name = "unlisted"];
        Specified by:
        getUnlisted in interface FileDataOrBuilder
        Returns:
        The unlisted.
      • setUnlisted

        public FileData.Builder setUnlisted​(int value)
        int32 unlisted = 17 [json_name = "unlisted"];
        Parameters:
        value - The unlisted to set.
        Returns:
        This builder for chaining.
      • clearUnlisted

        public FileData.Builder clearUnlisted()
        int32 unlisted = 17 [json_name = "unlisted"];
        Returns:
        This builder for chaining.
      • getDirect

        public int getDirect()
        int32 direct = 18 [json_name = "direct"];
        Specified by:
        getDirect in interface FileDataOrBuilder
        Returns:
        The direct.
      • setDirect

        public FileData.Builder setDirect​(int value)
        int32 direct = 18 [json_name = "direct"];
        Parameters:
        value - The direct to set.
        Returns:
        This builder for chaining.
      • clearDirect

        public FileData.Builder clearDirect()
        int32 direct = 18 [json_name = "direct"];
        Returns:
        This builder for chaining.