public class YouTube.LiveChatMessages.List extends YouTubeRequest<LiveChatMessageListResponse>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
List(String liveChatId,
List<String> part)
Retrieves a list of resources, possibly filtered.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getHl()
Specifies the localization language in which the system messages should be returned.
|
String |
getLiveChatId()
The id of the live chat for which comments should be returned.
|
Long |
getMaxResults()
The *maxResults* parameter specifies the maximum number of items that should be returned in the
result set.
|
String |
getPageToken()
The *pageToken* parameter identifies a specific page in the result set that should be returned.
|
List<String> |
getPart()
The *part* parameter specifies the liveChatComment resource parts that the API response will
include.
|
Long |
getProfileImageSize()
Specifies the size of the profile image that should be returned for each user.
|
YouTube.LiveChatMessages.List |
set(String parameterName,
Object value) |
YouTube.LiveChatMessages.List |
set$Xgafv(String $Xgafv)
V1 error format.
|
YouTube.LiveChatMessages.List |
setAccessToken(String accessToken)
OAuth access token.
|
YouTube.LiveChatMessages.List |
setAlt(String alt)
Data format for response.
|
YouTube.LiveChatMessages.List |
setCallback(String callback)
JSONP
|
YouTube.LiveChatMessages.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.LiveChatMessages.List |
setHl(String hl)
Specifies the localization language in which the system messages should be returned.
|
YouTube.LiveChatMessages.List |
setKey(String key)
API key.
|
YouTube.LiveChatMessages.List |
setLiveChatId(String liveChatId)
The id of the live chat for which comments should be returned.
|
YouTube.LiveChatMessages.List |
setMaxResults(Long maxResults)
The *maxResults* parameter specifies the maximum number of items that should be returned in
the result set.
|
YouTube.LiveChatMessages.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.LiveChatMessages.List |
setPageToken(String pageToken)
The *pageToken* parameter identifies a specific page in the result set that should be
returned.
|
YouTube.LiveChatMessages.List |
setPart(List<String> part)
The *part* parameter specifies the liveChatComment resource parts that the API response
will include.
|
YouTube.LiveChatMessages.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.LiveChatMessages.List |
setProfileImageSize(Long profileImageSize)
Specifies the size of the profile image that should be returned for each user.
|
YouTube.LiveChatMessages.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
YouTube.LiveChatMessages.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
YouTube.LiveChatMessages.List |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected List(String liveChatId, List<String> part)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. YouTube.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be
called to initialize this instance immediately after invoking the constructor.
liveChatId
- The id of the live chat for which comments should be returned.part
- The *part* parameter specifies the liveChatComment resource parts that the API response will
include. Supported values are id and snippet.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<LiveChatMessageListResponse>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<LiveChatMessageListResponse>
IOException
public YouTube.LiveChatMessages.List set$Xgafv(String $Xgafv)
YouTubeRequest
set$Xgafv
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.LiveChatMessages.List setAccessToken(String accessToken)
YouTubeRequest
setAccessToken
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.LiveChatMessages.List setAlt(String alt)
YouTubeRequest
setAlt
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.LiveChatMessages.List setCallback(String callback)
YouTubeRequest
setCallback
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.LiveChatMessages.List setFields(String fields)
YouTubeRequest
setFields
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.LiveChatMessages.List setKey(String key)
YouTubeRequest
setKey
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.LiveChatMessages.List setOauthToken(String oauthToken)
YouTubeRequest
setOauthToken
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.LiveChatMessages.List setPrettyPrint(Boolean prettyPrint)
YouTubeRequest
setPrettyPrint
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.LiveChatMessages.List setQuotaUser(String quotaUser)
YouTubeRequest
setQuotaUser
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.LiveChatMessages.List setUploadType(String uploadType)
YouTubeRequest
setUploadType
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.LiveChatMessages.List setUploadProtocol(String uploadProtocol)
YouTubeRequest
setUploadProtocol
in class YouTubeRequest<LiveChatMessageListResponse>
public String getLiveChatId()
public YouTube.LiveChatMessages.List setLiveChatId(String liveChatId)
public List<String> getPart()
public YouTube.LiveChatMessages.List setPart(List<String> part)
public String getHl()
public YouTube.LiveChatMessages.List setHl(String hl)
public Long getMaxResults()
public YouTube.LiveChatMessages.List setMaxResults(Long maxResults)
public String getPageToken()
public YouTube.LiveChatMessages.List setPageToken(String pageToken)
public Long getProfileImageSize()
public YouTube.LiveChatMessages.List setProfileImageSize(Long profileImageSize)
public YouTube.LiveChatMessages.List set(String parameterName, Object value)
set
in class YouTubeRequest<LiveChatMessageListResponse>
Copyright © 2011–2020 Google. All rights reserved.