public static interface KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.SnippetOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMetadata()
public abstract Struct getMetadata()Metadata of the document.
.google.protobuf.Struct metadata = 5;
| Returns | |
|---|---|
| Type | Description |
Struct |
The metadata. |
getMetadataOrBuilder()
public abstract StructOrBuilder getMetadataOrBuilder()Metadata of the document.
.google.protobuf.Struct metadata = 5;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getText()
public abstract String getText()Text taken from that URI.
string text = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes()Text taken from that URI.
string text = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
getTitle()
public abstract String getTitle()Title of the document.
string title = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public abstract ByteString getTitleBytes()Title of the document.
string title = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
getUri()
public abstract String getUri()URI the data is sourced from.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public abstract ByteString getUriBytes()URI the data is sourced from.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
hasMetadata()
public abstract boolean hasMetadata()Metadata of the document.
.google.protobuf.Struct metadata = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |