public class YouTube.Youtube.V3.LiveChat.Messages.Stream extends YouTubeRequest<LiveChatMessageListResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Stream()
Allows a user to load live chat through a server-streamed RPC.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.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.Youtube.V3.LiveChat.Messages.Stream |
set(String parameterName,
Object value) |
YouTube.Youtube.V3.LiveChat.Messages.Stream |
set$Xgafv(String $Xgafv)
V1 error format.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setAccessToken(String accessToken)
OAuth access token.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setAlt(String alt)
Data format for response.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setCallback(String callback)
JSONP
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setHl(String hl)
Specifies the localization language in which the system messages should be returned.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setKey(String key)
API key.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setLiveChatId(String liveChatId)
The id of the live chat for which comments should be returned.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setMaxResults(Long maxResults)
The *maxResults* parameter specifies the maximum number of items that should be
returned in the result set.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setPageToken(String pageToken)
The *pageToken* parameter identifies a specific page in the result set that should be
returned.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setPart(List<String> part)
The *part* parameter specifies the liveChatComment resource parts that the API
response will include.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setProfileImageSize(Long profileImageSize)
Specifies the size of the profile image that should be returned for each user.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
YouTube.Youtube.V3.LiveChat.Messages.Stream |
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 Stream()
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.
public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<LiveChatMessageListResponse>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<LiveChatMessageListResponse>
IOException
public YouTube.Youtube.V3.LiveChat.Messages.Stream set$Xgafv(String $Xgafv)
YouTubeRequest
set$Xgafv
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.Youtube.V3.LiveChat.Messages.Stream setAccessToken(String accessToken)
YouTubeRequest
setAccessToken
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.Youtube.V3.LiveChat.Messages.Stream setAlt(String alt)
YouTubeRequest
setAlt
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.Youtube.V3.LiveChat.Messages.Stream setCallback(String callback)
YouTubeRequest
setCallback
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.Youtube.V3.LiveChat.Messages.Stream setFields(String fields)
YouTubeRequest
setFields
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.Youtube.V3.LiveChat.Messages.Stream setKey(String key)
YouTubeRequest
setKey
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.Youtube.V3.LiveChat.Messages.Stream setOauthToken(String oauthToken)
YouTubeRequest
setOauthToken
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.Youtube.V3.LiveChat.Messages.Stream setPrettyPrint(Boolean prettyPrint)
YouTubeRequest
setPrettyPrint
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.Youtube.V3.LiveChat.Messages.Stream setQuotaUser(String quotaUser)
YouTubeRequest
setQuotaUser
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.Youtube.V3.LiveChat.Messages.Stream setUploadType(String uploadType)
YouTubeRequest
setUploadType
in class YouTubeRequest<LiveChatMessageListResponse>
public YouTube.Youtube.V3.LiveChat.Messages.Stream setUploadProtocol(String uploadProtocol)
YouTubeRequest
setUploadProtocol
in class YouTubeRequest<LiveChatMessageListResponse>
public String getHl()
public YouTube.Youtube.V3.LiveChat.Messages.Stream setHl(String hl)
public String getLiveChatId()
public YouTube.Youtube.V3.LiveChat.Messages.Stream setLiveChatId(String liveChatId)
public Long getMaxResults()
public YouTube.Youtube.V3.LiveChat.Messages.Stream setMaxResults(Long maxResults)
public String getPageToken()
public YouTube.Youtube.V3.LiveChat.Messages.Stream setPageToken(String pageToken)
public List<String> getPart()
public YouTube.Youtube.V3.LiveChat.Messages.Stream setPart(List<String> part)
public Long getProfileImageSize()
public YouTube.Youtube.V3.LiveChat.Messages.Stream setProfileImageSize(Long profileImageSize)
public YouTube.Youtube.V3.LiveChat.Messages.Stream set(String parameterName, Object value)
set
in class YouTubeRequest<LiveChatMessageListResponse>
Copyright © 2011–2025 Google. All rights reserved.