public final class LiveStream extends 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 v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LiveStream() |
| Modifier and Type | Method and Description |
|---|---|
LiveStream |
clone() |
CdnSettings |
getCdn()
The cdn object defines the live stream's content delivery network (CDN) settings.
|
LiveStreamContentDetails |
getContentDetails()
The content_details object contains information about the stream, including the closed captions
ingestion URL.
|
String |
getEtag()
Etag of this resource.
|
String |
getId()
The ID that YouTube assigns to uniquely identify the stream.
|
String |
getKind()
Identifies what kind of resource this is.
|
LiveStreamSnippet |
getSnippet()
The snippet object contains basic details about the stream, including its channel, title, and
description.
|
LiveStreamStatus |
getStatus()
The status object contains information about live stream's status.
|
LiveStream |
set(String fieldName,
Object value) |
LiveStream |
setCdn(CdnSettings cdn)
The cdn object defines the live stream's content delivery network (CDN) settings.
|
LiveStream |
setContentDetails(LiveStreamContentDetails contentDetails)
The content_details object contains information about the stream, including the closed captions
ingestion URL.
|
LiveStream |
setEtag(String etag)
Etag of this resource.
|
LiveStream |
setId(String id)
The ID that YouTube assigns to uniquely identify the stream.
|
LiveStream |
setKind(String kind)
Identifies what kind of resource this is.
|
LiveStream |
setSnippet(LiveStreamSnippet snippet)
The snippet object contains basic details about the stream, including its channel, title, and
description.
|
LiveStream |
setStatus(LiveStreamStatus status)
The status object contains information about live stream's status.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic CdnSettings getCdn()
null for nonepublic LiveStream setCdn(CdnSettings cdn)
cdn - cdn or null for nonepublic LiveStreamContentDetails getContentDetails()
null for nonepublic LiveStream setContentDetails(LiveStreamContentDetails contentDetails)
contentDetails - contentDetails or null for nonepublic String getEtag()
null for nonepublic LiveStream setEtag(String etag)
etag - etag or null for nonepublic String getId()
null for nonepublic LiveStream setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic LiveStream setKind(String kind)
kind - kind or null for nonepublic LiveStreamSnippet getSnippet()
null for nonepublic LiveStream setSnippet(LiveStreamSnippet snippet)
snippet - snippet or null for nonepublic LiveStreamStatus getStatus()
null for nonepublic LiveStream setStatus(LiveStreamStatus status)
status - status or null for nonepublic LiveStream set(String fieldName, Object value)
set in class GenericJsonpublic LiveStream clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.