Interface SmartReplyDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SmartReplyData,SmartReplyData.Builder
@Generated
public interface SmartReplyDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Map that contains metadata about the Smart Reply and the document from which it originates.doubleThe system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).Deprecated.intMap that contains metadata about the Smart Reply and the document from which it originates.Map that contains metadata about the Smart Reply and the document from which it originates.getMetadataOrDefault(String key, String defaultValue) Map that contains metadata about the Smart Reply and the document from which it originates.getMetadataOrThrow(String key) Map that contains metadata about the Smart Reply and the document from which it originates.The name of the answer record.com.google.protobuf.ByteStringThe name of the answer record.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.
-
getConfidenceScore
double getConfidenceScore()The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
double confidence_score = 2;- Returns:
- The confidenceScore.
-
getMetadataCount
int getMetadataCount()Map that contains metadata about the Smart Reply and the document from which it originates.
map<string, string> metadata = 3; -
containsMetadata
Map that contains metadata about the Smart Reply and the document from which it originates.
map<string, string> metadata = 3; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
Map that contains metadata about the Smart Reply and the document from which it originates.
map<string, string> metadata = 3; -
getMetadataOrDefault
Map that contains metadata about the Smart Reply and the document from which it originates.
map<string, string> metadata = 3; -
getMetadataOrThrow
Map that contains metadata about the Smart Reply and the document from which it originates.
map<string, string> metadata = 3; -
getQueryRecord
String getQueryRecord()The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}string query_record = 4;- Returns:
- The queryRecord.
-
getQueryRecordBytes
com.google.protobuf.ByteString getQueryRecordBytes()The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}string query_record = 4;- Returns:
- The bytes for queryRecord.
-