Interface KnowledgeConnectorSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KnowledgeConnectorSettings,KnowledgeConnectorSettings.Builder
@Generated
public interface KnowledgeConnectorSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDataStoreConnections(int index) Optional.intOptional.Optional.getDataStoreConnectionsOrBuilder(int index) Optional.List<? extends DataStoreConnectionOrBuilder>Optional.booleanWhether Knowledge Connector is enabled or not.The target flow to transition to.com.google.protobuf.ByteStringThe target flow to transition to.The target page to transition to.com.google.protobuf.ByteStringThe target page to transition to.The fulfillment to be triggered.The fulfillment to be triggered.booleanThe target flow to transition to.booleanThe target page to transition to.booleanThe fulfillment to be triggered.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.v3beta1.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.v3beta1.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.v3beta1.Fulfillment trigger_fulfillment = 3; -
hasTargetPage
boolean hasTargetPage()The target page to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
string target_page = 4 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for targetPage.
-
hasTargetFlow
boolean hasTargetFlow()The target flow to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
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.v3beta1.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getDataStoreConnections
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getDataStoreConnectionsOrBuilder
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getTargetCase
KnowledgeConnectorSettings.TargetCase getTargetCase()
-