Interface Tool.DataStoreToolOrBuilder (0.55.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the fallbackPrompt field is set.