Interface Tool.DataStoreToolOrBuilder (0.52.0)

public static interface Tool.DataStoreToolOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataStoreConnections(int index)

public abstract DataStoreConnection getDataStoreConnections(int index)

Required. List of data stores to search.

repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
DataStoreConnection

getDataStoreConnectionsCount()

public abstract int getDataStoreConnectionsCount()

Required. List of data stores to search.

repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getDataStoreConnectionsList()

public abstract List<DataStoreConnection> getDataStoreConnectionsList()

Required. List of data stores to search.

repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<DataStoreConnection>

getDataStoreConnectionsOrBuilder(int index)

public abstract DataStoreConnectionOrBuilder getDataStoreConnectionsOrBuilder(int index)

Required. List of data stores to search.

repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
DataStoreConnectionOrBuilder

getDataStoreConnectionsOrBuilderList()

public abstract List<? extends DataStoreConnectionOrBuilder> getDataStoreConnectionsOrBuilderList()

Required. List of data stores to search.

repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionOrBuilder>

getFallbackPrompt()

public abstract Tool.DataStoreTool.FallbackPrompt getFallbackPrompt()

Required. Fallback prompt configurations to use.

.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt fallback_prompt = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Tool.DataStoreTool.FallbackPrompt

The fallbackPrompt.

getFallbackPromptOrBuilder()

public abstract Tool.DataStoreTool.FallbackPromptOrBuilder getFallbackPromptOrBuilder()

Required. Fallback prompt configurations to use.

.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt fallback_prompt = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Tool.DataStoreTool.FallbackPromptOrBuilder

hasFallbackPrompt()

public abstract boolean hasFallbackPrompt()

Required. Fallback prompt configurations to use.

.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt fallback_prompt = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the fallbackPrompt field is set.