com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
PROTO library for proto-google-cloud-dialogflow-cx-v3beta1
The newest version!
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/cx/v3beta1/session.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.cx.v3beta1;
public interface SentimentAnalysisResultOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
* sentiment).
*
*
* float score = 1;
*
* @return The score.
*/
float getScore();
/**
*
*
*
* A non-negative number in the [0, +inf) range, which represents the absolute
* magnitude of sentiment, regardless of score (positive or negative).
*
*
* float magnitude = 2;
*
* @return The magnitude.
*/
float getMagnitude();
}