public final class CdnSettings
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the YouTube Data API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
CdnSettings() |
Modifier and Type | Method and Description |
---|---|
CdnSettings |
clone() |
java.lang.String |
getFormat()
The format of the video stream that you are sending to Youtube.
|
java.lang.String |
getFrameRate()
The frame rate of the inbound video data.
|
IngestionInfo |
getIngestionInfo()
The ingestionInfo object contains information that YouTube provides that you need to transmit
your RTMP or HTTP stream to YouTube.
|
java.lang.String |
getIngestionType()
The method or protocol used to transmit the video stream.
|
java.lang.String |
getResolution()
The resolution of the inbound video data.
|
CdnSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
CdnSettings |
setFormat(java.lang.String format)
The format of the video stream that you are sending to Youtube.
|
CdnSettings |
setFrameRate(java.lang.String frameRate)
The frame rate of the inbound video data.
|
CdnSettings |
setIngestionInfo(IngestionInfo ingestionInfo)
The ingestionInfo object contains information that YouTube provides that you need to transmit
your RTMP or HTTP stream to YouTube.
|
CdnSettings |
setIngestionType(java.lang.String ingestionType)
The method or protocol used to transmit the video stream.
|
CdnSettings |
setResolution(java.lang.String resolution)
The resolution of the inbound video data.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getFormat()
null
for nonepublic CdnSettings setFormat(java.lang.String format)
format
- format or null
for nonepublic java.lang.String getFrameRate()
null
for nonepublic CdnSettings setFrameRate(java.lang.String frameRate)
frameRate
- frameRate or null
for nonepublic IngestionInfo getIngestionInfo()
null
for nonepublic CdnSettings setIngestionInfo(IngestionInfo ingestionInfo)
ingestionInfo
- ingestionInfo or null
for nonepublic java.lang.String getIngestionType()
null
for nonepublic CdnSettings setIngestionType(java.lang.String ingestionType)
ingestionType
- ingestionType or null
for nonepublic java.lang.String getResolution()
null
for nonepublic CdnSettings setResolution(java.lang.String resolution)
resolution
- resolution or null
for nonepublic CdnSettings set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CdnSettings clone()
clone
in class com.google.api.client.json.GenericJson