AnalyzeEntitySentimentRequest
class AnalyzeEntitySentimentRequest extends Message
The entity-level sentiment analysis request message.
Protobuf type Google\Cloud\Language\V1beta2\AnalyzeEntitySentimentRequest
Methods
No description
Input document.
The encoding type used by the API to calculate offsets.
The encoding type used by the API to calculate offsets.
Details
at line 31
__construct()
at line 42
Document
getDocument()
Input document.
Generated from protobuf field .google.cloud.language.v1beta2.Document document = 1;
at line 53
setDocument(Document $var)
Input document.
Generated from protobuf field .google.cloud.language.v1beta2.Document document = 1;
at line 65
int
getEncodingType()
The encoding type used by the API to calculate offsets.
Generated from protobuf field .google.cloud.language.v1beta2.EncodingType encoding_type = 2;
at line 76
setEncodingType(int $var)
The encoding type used by the API to calculate offsets.
Generated from protobuf field .google.cloud.language.v1beta2.EncodingType encoding_type = 2;