com.google.cloud.language.v1.SentenceOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-google-cloud-language-v1 Show documentation
Show all versions of grpc-google-cloud-language-v1 Show documentation
GRPC library for grpc-google-cloud-language-v1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/language/v1/language_service.proto
package com.google.cloud.language.v1;
public interface SentenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.language.v1.Sentence)
com.google.protobuf.MessageOrBuilder {
/**
*
* The sentence text.
*
*
* .google.cloud.language.v1.TextSpan text = 1;
*/
boolean hasText();
/**
*
* The sentence text.
*
*
* .google.cloud.language.v1.TextSpan text = 1;
*/
com.google.cloud.language.v1.TextSpan getText();
/**
*
* The sentence text.
*
*
* .google.cloud.language.v1.TextSpan text = 1;
*/
com.google.cloud.language.v1.TextSpanOrBuilder getTextOrBuilder();
/**
*
* For calls to [AnalyzeSentiment][] or if
* [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
* true, this field will contain the sentiment for the sentence.
*
*
* .google.cloud.language.v1.Sentiment sentiment = 2;
*/
boolean hasSentiment();
/**
*
* For calls to [AnalyzeSentiment][] or if
* [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
* true, this field will contain the sentiment for the sentence.
*
*
* .google.cloud.language.v1.Sentiment sentiment = 2;
*/
com.google.cloud.language.v1.Sentiment getSentiment();
/**
*
* For calls to [AnalyzeSentiment][] or if
* [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
* true, this field will contain the sentiment for the sentence.
*
*
* .google.cloud.language.v1.Sentiment sentiment = 2;
*/
com.google.cloud.language.v1.SentimentOrBuilder getSentimentOrBuilder();
}