Class ShowVideoResponse

  • All Implemented Interfaces:
    org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord

    public class ShowVideoResponse
    extends Object
    implements org.apache.avro.generic.IndexedRecord
    A set of results returned by GPUdb.showVideo.
    • Constructor Detail

      • ShowVideoResponse

        public ShowVideoResponse()
        Constructs a ShowVideoResponse object with default parameters.
    • Method Detail

      • getClassSchema

        public static org.apache.avro.Schema getClassSchema()
        This method supports the Avro framework and is not intended to be called directly by the user.
        Returns:
        The schema for the class.
      • getCreationTimes

        public List<String> getCreationTimes()
        Creation time for each video as an ISO-8601 datetime.
        Returns:
        The current value of creationTimes.
      • setCreationTimes

        public ShowVideoResponse setCreationTimes​(List<String> creationTimes)
        Creation time for each video as an ISO-8601 datetime.
        Parameters:
        creationTimes - The new value for creationTimes.
        Returns:
        this to mimic the builder pattern.
      • getElapsedRenderTimeSeconds

        public List<Long> getElapsedRenderTimeSeconds()
        The elapsed time spent rendering each video in seconds.
        Returns:
        The current value of elapsedRenderTimeSeconds.
      • setElapsedRenderTimeSeconds

        public ShowVideoResponse setElapsedRenderTimeSeconds​(List<Long> elapsedRenderTimeSeconds)
        The elapsed time spent rendering each video in seconds.
        Parameters:
        elapsedRenderTimeSeconds - The new value for elapsedRenderTimeSeconds.
        Returns:
        this to mimic the builder pattern.
      • getJobIds

        public List<Long> getJobIds()
        The job id of the rendering process, for each video that is still being rendered.
        Returns:
        The current value of jobIds.
      • setJobIds

        public ShowVideoResponse setJobIds​(List<Long> jobIds)
        The job id of the rendering process, for each video that is still being rendered.
        Parameters:
        jobIds - The new value for jobIds.
        Returns:
        this to mimic the builder pattern.
      • getPaths

        public List<String> getPaths()
        KIFS path to each video.
        Returns:
        The current value of paths.
      • setPaths

        public ShowVideoResponse setPaths​(List<String> paths)
        KIFS path to each video.
        Parameters:
        paths - The new value for paths.
        Returns:
        this to mimic the builder pattern.
      • getRenderedBytes

        public List<Long> getRenderedBytes()
        The number of bytes emitted by the encoder for each video.
        Returns:
        The current value of renderedBytes.
      • setRenderedBytes

        public ShowVideoResponse setRenderedBytes​(List<Long> renderedBytes)
        The number of bytes emitted by the encoder for each video.
        Parameters:
        renderedBytes - The new value for renderedBytes.
        Returns:
        this to mimic the builder pattern.
      • getRenderedFrames

        public List<Long> getRenderedFrames()
        The number of frames rendered for each video.
        Returns:
        The current value of renderedFrames.
      • setRenderedFrames

        public ShowVideoResponse setRenderedFrames​(List<Long> renderedFrames)
        The number of frames rendered for each video.
        Parameters:
        renderedFrames - The new value for renderedFrames.
        Returns:
        this to mimic the builder pattern.
      • getRenderedPercents

        public List<Long> getRenderedPercents()
        Percent completion of each video's rendering process (0-100)
        Returns:
        The current value of renderedPercents.
      • setRenderedPercents

        public ShowVideoResponse setRenderedPercents​(List<Long> renderedPercents)
        Percent completion of each video's rendering process (0-100)
        Parameters:
        renderedPercents - The new value for renderedPercents.
        Returns:
        this to mimic the builder pattern.
      • getRequests

        public List<String> getRequests()
        JSON-string reflecting each video's creation parameters.
        Returns:
        The current value of requests.
      • setRequests

        public ShowVideoResponse setRequests​(List<String> requests)
        JSON-string reflecting each video's creation parameters.
        Parameters:
        requests - The new value for requests.
        Returns:
        this to mimic the builder pattern.
      • getStatus

        public List<String> getStatus()
        The status of the last rendered frame for each video. Either OK or Error with a message indicating the nature of the error.
        Returns:
        The current value of status.
      • setStatus

        public ShowVideoResponse setStatus​(List<String> status)
        The status of the last rendered frame for each video. Either OK or Error with a message indicating the nature of the error.
        Parameters:
        status - The new value for status.
        Returns:
        this to mimic the builder pattern.
      • getTtls

        public List<Long> getTtls()
        The remaining TTL, in minutes, before the respective video expires (-1 if it will never expire).
        Returns:
        The current value of ttls.
      • setTtls

        public ShowVideoResponse setTtls​(List<Long> ttls)
        The remaining TTL, in minutes, before the respective video expires (-1 if it will never expire).
        Parameters:
        ttls - The new value for ttls.
        Returns:
        this to mimic the builder pattern.
      • getInfo

        public Map<String,​String> getInfo()
        Additional information.
        Returns:
        The current value of info.
      • setInfo

        public ShowVideoResponse setInfo​(Map<String,​String> info)
        Additional information.
        Parameters:
        info - The new value for info.
        Returns:
        this to mimic the builder pattern.
      • getSchema

        public org.apache.avro.Schema getSchema()
        This method supports the Avro framework and is not intended to be called directly by the user.
        Specified by:
        getSchema in interface org.apache.avro.generic.GenericContainer
        Returns:
        The schema object describing this class.
      • get

        public Object get​(int index)
        This method supports the Avro framework and is not intended to be called directly by the user.
        Specified by:
        get in interface org.apache.avro.generic.IndexedRecord
        Parameters:
        index - the position of the field to get
        Returns:
        value of the field with the given index.
        Throws:
        IndexOutOfBoundsException
      • put

        public void put​(int index,
                        Object value)
        This method supports the Avro framework and is not intended to be called directly by the user.
        Specified by:
        put in interface org.apache.avro.generic.IndexedRecord
        Parameters:
        index - the position of the field to set
        value - the value to set
        Throws:
        IndexOutOfBoundsException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object