Interface KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSourceOrBuilder (4.57.0)

public static interface KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSnippets(int index)

public abstract KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet getSnippets(int index)

All snippets used for this Generative Prediction, with their source URI and data.

repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;

Parameter
Name Description
index int
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet

getSnippetsCount()

public abstract int getSnippetsCount()

All snippets used for this Generative Prediction, with their source URI and data.

repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;

Returns
Type Description
int

getSnippetsList()

public abstract List<KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet> getSnippetsList()

All snippets used for this Generative Prediction, with their source URI and data.

repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;

Returns
Type Description
List<Snippet>

getSnippetsOrBuilder(int index)

public abstract KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.SnippetOrBuilder getSnippetsOrBuilder(int index)

All snippets used for this Generative Prediction, with their source URI and data.

repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;

Parameter
Name Description
index int
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.SnippetOrBuilder

getSnippetsOrBuilderList()

public abstract List<? extends KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.SnippetOrBuilder> getSnippetsOrBuilderList()

All snippets used for this Generative Prediction, with their source URI and data.

repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.SnippetOrBuilder>