public static interface SearchKnowledgeAnswer.AnswerSourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMetadata()
public abstract Struct getMetadata()Metadata associated with the article.
.google.protobuf.Struct metadata = 5;
| Returns | |
|---|---|
| Type | Description |
Struct |
The metadata. |
getMetadataOrBuilder()
public abstract StructOrBuilder getMetadataOrBuilder()Metadata associated with the article.
.google.protobuf.Struct metadata = 5;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getSnippet()
public abstract String getSnippet()The relevant snippet of the article.
string snippet = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The snippet. |
getSnippetBytes()
public abstract ByteString getSnippetBytes()The relevant snippet of the article.
string snippet = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for snippet. |
getTitle()
public abstract String getTitle()The title of the article.
string title = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public abstract ByteString getTitleBytes()The title of the article.
string title = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
getUri()
public abstract String getUri()The URI of the article.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public abstract ByteString getUriBytes()The URI of the article.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
hasMetadata()
public abstract boolean hasMetadata()Metadata associated with the article.
.google.protobuf.Struct metadata = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |