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