public class Plus.Comments.List extends PlusRequest<CommentFeed>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
List(java.lang.String activityId)
Shut down.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getActivityId()
The ID of the activity to get comments for.
|
java.lang.Long |
getMaxResults()
The maximum number of comments to include in the response, which is used for paging.
|
java.lang.String |
getPageToken()
The continuation token, which is used to page through large result sets.
|
java.lang.String |
getSortOrder()
The order in which to sort the list of comments.
|
Plus.Comments.List |
set(java.lang.String parameterName,
java.lang.Object value) |
Plus.Comments.List |
setActivityId(java.lang.String activityId)
The ID of the activity to get comments for.
|
Plus.Comments.List |
setAlt(java.lang.String alt)
Data format for the response.
|
Plus.Comments.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Plus.Comments.List |
setKey(java.lang.String key)
API key.
|
Plus.Comments.List |
setMaxResults(java.lang.Long maxResults)
The maximum number of comments to include in the response, which is used for paging.
|
Plus.Comments.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Plus.Comments.List |
setPageToken(java.lang.String pageToken)
The continuation token, which is used to page through large result sets.
|
Plus.Comments.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Plus.Comments.List |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Plus.Comments.List |
setSortOrder(java.lang.String sortOrder)
The order in which to sort the list of comments.
|
Plus.Comments.List |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected List(java.lang.String activityId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Plus.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
activityId - The ID of the activity to get comments for.public com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<CommentFeed>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<CommentFeed>java.io.IOExceptionpublic Plus.Comments.List setAlt(java.lang.String alt)
PlusRequestsetAlt in class PlusRequest<CommentFeed>public Plus.Comments.List setFields(java.lang.String fields)
PlusRequestsetFields in class PlusRequest<CommentFeed>public Plus.Comments.List setKey(java.lang.String key)
PlusRequestsetKey in class PlusRequest<CommentFeed>public Plus.Comments.List setOauthToken(java.lang.String oauthToken)
PlusRequestsetOauthToken in class PlusRequest<CommentFeed>public Plus.Comments.List setPrettyPrint(java.lang.Boolean prettyPrint)
PlusRequestsetPrettyPrint in class PlusRequest<CommentFeed>public Plus.Comments.List setQuotaUser(java.lang.String quotaUser)
PlusRequestsetQuotaUser in class PlusRequest<CommentFeed>public Plus.Comments.List setUserIp(java.lang.String userIp)
PlusRequestsetUserIp in class PlusRequest<CommentFeed>public java.lang.String getActivityId()
public Plus.Comments.List setActivityId(java.lang.String activityId)
public java.lang.Long getMaxResults()
public Plus.Comments.List setMaxResults(java.lang.Long maxResults)
public java.lang.String getPageToken()
public Plus.Comments.List setPageToken(java.lang.String pageToken)
public java.lang.String getSortOrder()
public Plus.Comments.List setSortOrder(java.lang.String sortOrder)
public Plus.Comments.List set(java.lang.String parameterName, java.lang.Object value)
set in class PlusRequest<CommentFeed>