public final class CaptionSnippet 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 |
|---|
CaptionSnippet() |
| Modifier and Type | Method and Description |
|---|---|
CaptionSnippet |
clone() |
String |
getAudioTrackType()
The type of audio track associated with the caption track.
|
String |
getFailureReason()
The reason that YouTube failed to process the caption track.
|
Boolean |
getIsAutoSynced()
Indicates whether YouTube synchronized the caption track to the audio track in the video.
|
Boolean |
getIsCC()
Indicates whether the track contains closed captions for the deaf and hard of hearing.
|
Boolean |
getIsDraft()
Indicates whether the caption track is a draft.
|
Boolean |
getIsEasyReader()
Indicates whether caption track is formatted for "easy reader," meaning it is at a third-grade
level for language learners.
|
Boolean |
getIsLarge()
Indicates whether the caption track uses large text for the vision-impaired.
|
String |
getLanguage()
The language of the caption track.
|
DateTime |
getLastUpdated()
The date and time when the caption track was last updated.
|
String |
getName()
The name of the caption track.
|
String |
getStatus()
The caption track's status.
|
String |
getTrackKind()
The caption track's type.
|
String |
getVideoId()
The ID that YouTube uses to uniquely identify the video associated with the caption track.
|
CaptionSnippet |
set(String fieldName,
Object value) |
CaptionSnippet |
setAudioTrackType(String audioTrackType)
The type of audio track associated with the caption track.
|
CaptionSnippet |
setFailureReason(String failureReason)
The reason that YouTube failed to process the caption track.
|
CaptionSnippet |
setIsAutoSynced(Boolean isAutoSynced)
Indicates whether YouTube synchronized the caption track to the audio track in the video.
|
CaptionSnippet |
setIsCC(Boolean isCC)
Indicates whether the track contains closed captions for the deaf and hard of hearing.
|
CaptionSnippet |
setIsDraft(Boolean isDraft)
Indicates whether the caption track is a draft.
|
CaptionSnippet |
setIsEasyReader(Boolean isEasyReader)
Indicates whether caption track is formatted for "easy reader," meaning it is at a third-grade
level for language learners.
|
CaptionSnippet |
setIsLarge(Boolean isLarge)
Indicates whether the caption track uses large text for the vision-impaired.
|
CaptionSnippet |
setLanguage(String language)
The language of the caption track.
|
CaptionSnippet |
setLastUpdated(DateTime lastUpdated)
The date and time when the caption track was last updated.
|
CaptionSnippet |
setName(String name)
The name of the caption track.
|
CaptionSnippet |
setStatus(String status)
The caption track's status.
|
CaptionSnippet |
setTrackKind(String trackKind)
The caption track's type.
|
CaptionSnippet |
setVideoId(String videoId)
The ID that YouTube uses to uniquely identify the video associated with the caption track.
|
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 String getAudioTrackType()
null for nonepublic CaptionSnippet setAudioTrackType(String audioTrackType)
audioTrackType - audioTrackType or null for nonepublic String getFailureReason()
null for nonepublic CaptionSnippet setFailureReason(String failureReason)
failureReason - failureReason or null for nonepublic Boolean getIsAutoSynced()
null for nonepublic CaptionSnippet setIsAutoSynced(Boolean isAutoSynced)
isAutoSynced - isAutoSynced or null for nonepublic Boolean getIsCC()
null for nonepublic CaptionSnippet setIsCC(Boolean isCC)
isCC - isCC or null for nonepublic Boolean getIsDraft()
null for nonepublic CaptionSnippet setIsDraft(Boolean isDraft)
isDraft - isDraft or null for nonepublic Boolean getIsEasyReader()
null for nonepublic CaptionSnippet setIsEasyReader(Boolean isEasyReader)
isEasyReader - isEasyReader or null for nonepublic Boolean getIsLarge()
null for nonepublic CaptionSnippet setIsLarge(Boolean isLarge)
isLarge - isLarge or null for nonepublic String getLanguage()
null for nonepublic CaptionSnippet setLanguage(String language)
language - language or null for nonepublic DateTime getLastUpdated()
null for nonepublic CaptionSnippet setLastUpdated(DateTime lastUpdated)
lastUpdated - lastUpdated or null for nonepublic String getName()
null for nonepublic CaptionSnippet setName(String name)
name - name or null for nonepublic String getStatus()
null for nonepublic CaptionSnippet setStatus(String status)
status - status or null for nonepublic String getTrackKind()
null for nonepublic CaptionSnippet setTrackKind(String trackKind)
trackKind - trackKind or null for nonepublic String getVideoId()
null for nonepublic CaptionSnippet setVideoId(String videoId)
videoId - videoId or null for nonepublic CaptionSnippet set(String fieldName, Object value)
set in class GenericJsonpublic CaptionSnippet clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.