Interface KnowledgeConnectorSettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KnowledgeConnectorSettings,KnowledgeConnectorSettings.Builder
public interface KnowledgeConnectorSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataStoreConnectiongetDataStoreConnections(int index)Optional.intgetDataStoreConnectionsCount()Optional.List<DataStoreConnection>getDataStoreConnectionsList()Optional.DataStoreConnectionOrBuildergetDataStoreConnectionsOrBuilder(int index)Optional.List<? extends DataStoreConnectionOrBuilder>getDataStoreConnectionsOrBuilderList()Optional.booleangetEnabled()Whether Knowledge Connector is enabled or not.KnowledgeConnectorSettings.TargetCasegetTargetCase()StringgetTargetFlow()The target flow to transition to.com.google.protobuf.ByteStringgetTargetFlowBytes()The target flow to transition to.StringgetTargetPage()The target page to transition to.com.google.protobuf.ByteStringgetTargetPageBytes()The target page to transition to.FulfillmentgetTriggerFulfillment()The fulfillment to be triggered.FulfillmentOrBuildergetTriggerFulfillmentOrBuilder()The fulfillment to be triggered.booleanhasTargetFlow()The target flow to transition to.booleanhasTargetPage()The target page to transition to.booleanhasTriggerFulfillment()The fulfillment to be triggered.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEnabled
boolean getEnabled()
Whether Knowledge Connector is enabled or not.
bool enabled = 1;- Returns:
- The enabled.
-
hasTriggerFulfillment
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:
- Whether the triggerFulfillment field is set.
-
getTriggerFulfillment
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:
- The triggerFulfillment.
-
getTriggerFulfillmentOrBuilder
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;
-
hasTargetPage
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:
- Whether the targetPage field is set.
-
getTargetPage
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:
- The targetPage.
-
getTargetPageBytes
com.google.protobuf.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:
- The bytes for targetPage.
-
hasTargetFlow
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:
- Whether the targetFlow field is set.
-
getTargetFlow
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:
- The targetFlow.
-
getTargetFlowBytes
com.google.protobuf.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:
- The bytes for targetFlow.
-
getDataStoreConnectionsList
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];
-
getDataStoreConnections
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];
-
getDataStoreConnectionsCount
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];
-
getDataStoreConnectionsOrBuilderList
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];
-
getDataStoreConnectionsOrBuilder
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];
-
getTargetCase
KnowledgeConnectorSettings.TargetCase getTargetCase()
-
-