Interface SmartReplyAnswerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SmartReplyAnswer
,SmartReplyAnswer.Builder
public interface SmartReplyAnswerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAnswerRecord()
The name of answer record, in the format of "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>"com.google.protobuf.ByteString
getAnswerRecordBytes()
The name of answer record, in the format of "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>"float
getConfidence()
Smart reply confidence.String
getReply()
The content of the reply.com.google.protobuf.ByteString
getReplyBytes()
The content of the reply.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-