public interface ArticleAnswerOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetadata(String key)
A map that contains metadata about the answer and the
document from which it originates.
|
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>"
|
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
A map that contains metadata about the answer and the
document from which it originates.
|
Map<String,String> |
getMetadataMap()
A map that contains metadata about the answer and the
document from which it originates.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
A map that contains metadata about the answer and the
document from which it originates.
|
String |
getMetadataOrThrow(String key)
A map that contains metadata about the answer and the
document from which it originates.
|
String |
getSnippets(int index)
Output only.
|
com.google.protobuf.ByteString |
getSnippetsBytes(int index)
Output only.
|
int |
getSnippetsCount()
Output only.
|
List<String> |
getSnippetsList()
Output only.
|
String |
getTitle()
The article title.
|
com.google.protobuf.ByteString |
getTitleBytes()
The article title.
|
String |
getUri()
The article URI.
|
com.google.protobuf.ByteString |
getUriBytes()
The article URI.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getTitle()
The article title.
string title = 1;com.google.protobuf.ByteString getTitleBytes()
The article title.
string title = 1;String getUri()
The article URI.
string uri = 2;com.google.protobuf.ByteString getUriBytes()
The article URI.
string uri = 2;List<String> getSnippetsList()
Output only. Article snippets.
repeated string snippets = 3;int getSnippetsCount()
Output only. Article snippets.
repeated string snippets = 3;String getSnippets(int index)
Output only. Article snippets.
repeated string snippets = 3;index - The index of the element to return.com.google.protobuf.ByteString getSnippetsBytes(int index)
Output only. Article snippets.
repeated string snippets = 3;index - The index of the value to return.int getMetadataCount()
A map that contains metadata about the answer and the document from which it originates.
map<string, string> metadata = 5;boolean containsMetadata(String key)
A map that contains metadata about the answer and the document from which it originates.
map<string, string> metadata = 5;@Deprecated Map<String,String> getMetadata()
getMetadataMap() instead.Map<String,String> getMetadataMap()
A map that contains metadata about the answer and the document from which it originates.
map<string, string> metadata = 5;String getMetadataOrDefault(String key, String defaultValue)
A map that contains metadata about the answer and the document from which it originates.
map<string, string> metadata = 5;String getMetadataOrThrow(String key)
A map that contains metadata about the answer and the document from which it originates.
map<string, string> metadata = 5;String getAnswerRecord()
The name of answer record, in the format of "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>"
string answer_record = 6;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 = 6;Copyright © 2023 Google LLC. All rights reserved.