public class YouTube.Youtube.V3.LiveChat.Messages.Stream extends YouTubeRequest<LiveChatMessageListResponse>
com.google.api.client.util.GenericData.FlagsAbstractMap.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, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected 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>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<LiveChatMessageListResponse>IOExceptionpublic YouTube.Youtube.V3.LiveChat.Messages.Stream set$Xgafv(String $Xgafv)
YouTubeRequestset$Xgafv in class YouTubeRequest<LiveChatMessageListResponse>public YouTube.Youtube.V3.LiveChat.Messages.Stream setAccessToken(String accessToken)
YouTubeRequestsetAccessToken in class YouTubeRequest<LiveChatMessageListResponse>public YouTube.Youtube.V3.LiveChat.Messages.Stream setAlt(String alt)
YouTubeRequestsetAlt in class YouTubeRequest<LiveChatMessageListResponse>public YouTube.Youtube.V3.LiveChat.Messages.Stream setCallback(String callback)
YouTubeRequestsetCallback in class YouTubeRequest<LiveChatMessageListResponse>public YouTube.Youtube.V3.LiveChat.Messages.Stream setFields(String fields)
YouTubeRequestsetFields in class YouTubeRequest<LiveChatMessageListResponse>public YouTube.Youtube.V3.LiveChat.Messages.Stream setKey(String key)
YouTubeRequestsetKey in class YouTubeRequest<LiveChatMessageListResponse>public YouTube.Youtube.V3.LiveChat.Messages.Stream setOauthToken(String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<LiveChatMessageListResponse>public YouTube.Youtube.V3.LiveChat.Messages.Stream setPrettyPrint(Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<LiveChatMessageListResponse>public YouTube.Youtube.V3.LiveChat.Messages.Stream setQuotaUser(String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<LiveChatMessageListResponse>public YouTube.Youtube.V3.LiveChat.Messages.Stream setUploadType(String uploadType)
YouTubeRequestsetUploadType in class YouTubeRequest<LiveChatMessageListResponse>public YouTube.Youtube.V3.LiveChat.Messages.Stream setUploadProtocol(String uploadProtocol)
YouTubeRequestsetUploadProtocol 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–2024 Google. All rights reserved.