public class CloudNaturalLanguage.Documents.AnalyzeSentiment extends CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
AnalyzeSentiment(AnalyzeSentimentRequest content)
Analyzes the sentiment of the provided text.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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 AnalyzeSentiment(AnalyzeSentimentRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. AnalyzeSentiment#initialize(com.google.api.client.googleapis.services.Abs
tractGoogleClientRequest)
must be called to initialize this instance immediately after
invoking the constructor.
content
- the AnalyzeSentimentRequest
public CloudNaturalLanguage.Documents.AnalyzeSentiment set$Xgafv(String $Xgafv)
CloudNaturalLanguageRequest
set$Xgafv
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
public CloudNaturalLanguage.Documents.AnalyzeSentiment setAccessToken(String accessToken)
CloudNaturalLanguageRequest
setAccessToken
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
public CloudNaturalLanguage.Documents.AnalyzeSentiment setAlt(String alt)
CloudNaturalLanguageRequest
setAlt
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
public CloudNaturalLanguage.Documents.AnalyzeSentiment setCallback(String callback)
CloudNaturalLanguageRequest
setCallback
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
public CloudNaturalLanguage.Documents.AnalyzeSentiment setFields(String fields)
CloudNaturalLanguageRequest
setFields
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
public CloudNaturalLanguage.Documents.AnalyzeSentiment setKey(String key)
CloudNaturalLanguageRequest
setKey
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
public CloudNaturalLanguage.Documents.AnalyzeSentiment setOauthToken(String oauthToken)
CloudNaturalLanguageRequest
setOauthToken
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
public CloudNaturalLanguage.Documents.AnalyzeSentiment setPrettyPrint(Boolean prettyPrint)
CloudNaturalLanguageRequest
setPrettyPrint
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
public CloudNaturalLanguage.Documents.AnalyzeSentiment setQuotaUser(String quotaUser)
CloudNaturalLanguageRequest
setQuotaUser
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
public CloudNaturalLanguage.Documents.AnalyzeSentiment setUploadType(String uploadType)
CloudNaturalLanguageRequest
setUploadType
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
public CloudNaturalLanguage.Documents.AnalyzeSentiment setUploadProtocol(String uploadProtocol)
CloudNaturalLanguageRequest
setUploadProtocol
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
public CloudNaturalLanguage.Documents.AnalyzeSentiment set(String parameterName, Object value)
set
in class CloudNaturalLanguageRequest<AnalyzeSentimentResponse>
Copyright © 2011–2025 Google. All rights reserved.