public class ShowVideoResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showVideo(ShowVideoRequest)
.Constructor and Description |
---|
ShowVideoResponse()
Constructs a ShowVideoResponse object with default parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<String> |
getCreationTimes() |
List<Long> |
getElapsedRenderTimeSeconds() |
Map<String,String> |
getInfo() |
List<Long> |
getJobIds() |
List<String> |
getPaths() |
List<Long> |
getRenderedBytes() |
List<Long> |
getRenderedFrames() |
List<Long> |
getRenderedPercents() |
List<String> |
getRequests() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<String> |
getStatus() |
List<Long> |
getTtls() |
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
ShowVideoResponse |
setCreationTimes(List<String> creationTimes) |
ShowVideoResponse |
setElapsedRenderTimeSeconds(List<Long> elapsedRenderTimeSeconds) |
ShowVideoResponse |
setInfo(Map<String,String> info) |
ShowVideoResponse |
setJobIds(List<Long> jobIds) |
ShowVideoResponse |
setPaths(List<String> paths) |
ShowVideoResponse |
setRenderedBytes(List<Long> renderedBytes) |
ShowVideoResponse |
setRenderedFrames(List<Long> renderedFrames) |
ShowVideoResponse |
setRenderedPercents(List<Long> renderedPercents) |
ShowVideoResponse |
setRequests(List<String> requests) |
ShowVideoResponse |
setStatus(List<String> status) |
ShowVideoResponse |
setTtls(List<Long> ttls) |
String |
toString() |
public ShowVideoResponse()
public static org.apache.avro.Schema getClassSchema()
public List<String> getCreationTimes()
public ShowVideoResponse setCreationTimes(List<String> creationTimes)
creationTimes
- Creation time for each video as an ISO-8601
datetime.this
to mimic the builder pattern.public List<Long> getElapsedRenderTimeSeconds()
public ShowVideoResponse setElapsedRenderTimeSeconds(List<Long> elapsedRenderTimeSeconds)
elapsedRenderTimeSeconds
- The elapsed time spent rendering each
video in seconds.this
to mimic the builder pattern.public List<Long> getJobIds()
public ShowVideoResponse setJobIds(List<Long> jobIds)
jobIds
- The job id of the rendering process, for each video that
is still being rendered.this
to mimic the builder pattern.public ShowVideoResponse setPaths(List<String> paths)
paths
- KIFS path to each video.this
to mimic the builder pattern.public List<Long> getRenderedBytes()
public ShowVideoResponse setRenderedBytes(List<Long> renderedBytes)
renderedBytes
- The number of bytes emitted by the encoder for
each video.this
to mimic the builder pattern.public List<Long> getRenderedFrames()
public ShowVideoResponse setRenderedFrames(List<Long> renderedFrames)
renderedFrames
- The number of frames rendered for each video.this
to mimic the builder pattern.public List<Long> getRenderedPercents()
public ShowVideoResponse setRenderedPercents(List<Long> renderedPercents)
renderedPercents
- Percent completion of each video's rendering
process (0-100)this
to mimic the builder pattern.public List<String> getRequests()
public ShowVideoResponse setRequests(List<String> requests)
requests
- JSON-string reflecting each video's creation
parameters.this
to mimic the builder pattern.public List<String> getStatus()
public ShowVideoResponse setStatus(List<String> status)
status
- The status of the last rendered frame for each video.
Either OK or Error with a message indicating the nature
of the error.this
to mimic the builder pattern.public List<Long> getTtls()
public ShowVideoResponse setTtls(List<Long> ttls)
ttls
- The remaining TTL, in minutes, before the respective
video expires (-1 if it will never expire).this
to mimic the builder pattern.public ShowVideoResponse setInfo(Map<String,String> info)
info
- Additional information.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2024. All rights reserved.