Interface KnowledgeConnectorSettingsOrBuilder (0.52.0)

public interface KnowledgeConnectorSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataStoreConnections(int index)

public abstract DataStoreConnection getDataStoreConnections(int index)

Optional. List of related data store connections.

repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DataStoreConnection

getDataStoreConnectionsCount()

public abstract int getDataStoreConnectionsCount()

Optional. List of related data store connections.

repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getDataStoreConnectionsList()

public abstract List<DataStoreConnection> getDataStoreConnectionsList()

Optional. List of related data store connections.

repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<DataStoreConnection>

getDataStoreConnectionsOrBuilder(int index)

public abstract DataStoreConnectionOrBuilder getDataStoreConnectionsOrBuilder(int index)

Optional. List of related data store connections.

repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DataStoreConnectionOrBuilder

getDataStoreConnectionsOrBuilderList()

public abstract List<? extends DataStoreConnectionOrBuilder> getDataStoreConnectionsOrBuilderList()

Optional. List of related data store connections.

repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];

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

getEnabled()

public abstract boolean getEnabled()

Whether Knowledge Connector is enabled or not.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getTargetCase()

public abstract KnowledgeConnectorSettings.TargetCase getTargetCase()
Returns
TypeDescription
KnowledgeConnectorSettings.TargetCase

getTargetFlow()

public abstract String getTargetFlow()

The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string target_flow = 5 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The targetFlow.

getTargetFlowBytes()

public abstract ByteString getTargetFlowBytes()

The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string target_flow = 5 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for targetFlow.

getTargetPage()

public abstract String getTargetPage()

The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

string target_page = 4 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The targetPage.

getTargetPageBytes()

public abstract ByteString getTargetPageBytes()

The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

string target_page = 4 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for targetPage.

getTriggerFulfillment()

public abstract Fulfillment getTriggerFulfillment()

The fulfillment to be triggered.

When the answers from the Knowledge Connector are selected by Dialogflow, you can utitlize the request scoped parameter $request.knowledge.answers (contains up to the 5 highest confidence answers) and $request.knowledge.questions (contains the corresponding questions) to construct the fulfillment.

.google.cloud.dialogflow.cx.v3.Fulfillment trigger_fulfillment = 3;

Returns
TypeDescription
Fulfillment

The triggerFulfillment.

getTriggerFulfillmentOrBuilder()

public abstract FulfillmentOrBuilder getTriggerFulfillmentOrBuilder()

The fulfillment to be triggered.

When the answers from the Knowledge Connector are selected by Dialogflow, you can utitlize the request scoped parameter $request.knowledge.answers (contains up to the 5 highest confidence answers) and $request.knowledge.questions (contains the corresponding questions) to construct the fulfillment.

.google.cloud.dialogflow.cx.v3.Fulfillment trigger_fulfillment = 3;

Returns
TypeDescription
FulfillmentOrBuilder

hasTargetFlow()

public abstract boolean hasTargetFlow()

The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string target_flow = 5 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the targetFlow field is set.

hasTargetPage()

public abstract boolean hasTargetPage()

The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

string target_page = 4 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the targetPage field is set.

hasTriggerFulfillment()

public abstract boolean hasTriggerFulfillment()

The fulfillment to be triggered.

When the answers from the Knowledge Connector are selected by Dialogflow, you can utitlize the request scoped parameter $request.knowledge.answers (contains up to the 5 highest confidence answers) and $request.knowledge.questions (contains the corresponding questions) to construct the fulfillment.

.google.cloud.dialogflow.cx.v3.Fulfillment trigger_fulfillment = 3;

Returns
TypeDescription
boolean

Whether the triggerFulfillment field is set.