/** * * * <pre> * For calls to [AnalyzeEntitySentiment][] or if * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to * true, this field will contain the sentiment expressed for this mention of * the entity in the provided document. * </pre> * * <code>.google.cloud.language.v1.Sentiment sentiment = 3;</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.language.v1.Sentiment, com.google.cloud.language.v1.Sentiment.Builder, com.google.cloud.language.v1.SentimentOrBuilder> getSentimentFieldBuilder() { if (sentimentBuilder_ == null) { sentimentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.language.v1.Sentiment, com.google.cloud.language.v1.Sentiment.Builder, com.google.cloud.language.v1.SentimentOrBuilder>( getSentiment(), getParentForChildren(), isClean()); sentiment_ = null; } return sentimentBuilder_; }
/** * * * <pre> * For calls to [AnalyzeEntitySentiment][] or if * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to * true, this field will contain the sentiment expressed for this mention of * the entity in the provided document. * </pre> * * <code>.google.cloud.language.v1.Sentiment sentiment = 3;</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.language.v1.Sentiment, com.google.cloud.language.v1.Sentiment.Builder, com.google.cloud.language.v1.SentimentOrBuilder> getSentimentFieldBuilder() { if (sentimentBuilder_ == null) { sentimentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.language.v1.Sentiment, com.google.cloud.language.v1.Sentiment.Builder, com.google.cloud.language.v1.SentimentOrBuilder>( getSentiment(), getParentForChildren(), isClean()); sentiment_ = null; } return sentimentBuilder_; }