Package com.google.cloud.dialogflow.v2
Interface SmartReplyAnswerOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SmartReplyAnswer,SmartReplyAnswer.Builder
@Generated
public interface SmartReplyAnswerOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of answer record, in the format of "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>"com.google.protobuf.ByteStringThe name of answer record, in the format of "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>"floatSmart reply confidence.getReply()The content of the reply.com.google.protobuf.ByteStringThe content of the reply.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getReply
String getReply()The content of the reply.
string reply = 1;- Returns:
- The reply.
-
getReplyBytes
com.google.protobuf.ByteString getReplyBytes()The content of the reply.
string reply = 1;- Returns:
- The bytes for reply.
-
getConfidence
float getConfidence()Smart reply confidence. The system's confidence score that this reply is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).
float confidence = 2;- Returns:
- The confidence.
-
getAnswerRecord
String getAnswerRecord()The name of answer record, in the format of "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>"
string answer_record = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The answerRecord.
-
getAnswerRecordBytes
com.google.protobuf.ByteString getAnswerRecordBytes()The name of answer record, in the format of "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>"
string answer_record = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for answerRecord.
-