public interface ArticleSuggestionDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetadata(String key)
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
float |
getConfidenceScore()
The system's confidence score that this article is a good match for this
conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
certain).
|
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
Map<String,String> |
getMetadataMap()
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
String |
getMetadataOrThrow(String key)
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
String |
getQueryRecord()
The name of the answer record.
|
com.google.protobuf.ByteString |
getQueryRecordBytes()
The name of the answer record.
|
String |
getSource()
The knowledge document that this answer was extracted from.
|
com.google.protobuf.ByteString |
getSourceBytes()
The knowledge document that this answer was extracted from.
|
String |
getTitle()
Article title.
|
com.google.protobuf.ByteString |
getTitleBytes()
Article title.
|
String |
getUri()
Article URI.
|
com.google.protobuf.ByteString |
getUriBytes()
Article URI.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getTitle()
Article title.
string title = 1;com.google.protobuf.ByteString getTitleBytes()
Article title.
string title = 1;String getUri()
Article URI.
string uri = 2;com.google.protobuf.ByteString getUriBytes()
Article URI.
string uri = 2;float getConfidenceScore()
The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
float confidence_score = 3;int getMetadataCount()
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;boolean containsMetadata(String key)
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;@Deprecated Map<String,String> getMetadata()
getMetadataMap() instead.Map<String,String> getMetadataMap()
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;String getMetadataOrDefault(String key, String defaultValue)
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;String getMetadataOrThrow(String key)
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;String getQueryRecord()
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 5;com.google.protobuf.ByteString getQueryRecordBytes()
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 5;String getSource()
The knowledge document that this answer was extracted from.
Format:
projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
string source = 6;com.google.protobuf.ByteString getSourceBytes()
The knowledge document that this answer was extracted from.
Format:
projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
string source = 6;Copyright © 2023 Google LLC. All rights reserved.