public static final class KnowledgeConnectorSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder> implements KnowledgeConnectorSettingsOrBuilder
The Knowledge Connector settings for this page or flow. This includes information such as the attached Knowledge Bases, and the way to execute fulfillment.Protobuf type
google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettingsgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>public KnowledgeConnectorSettings.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>public KnowledgeConnectorSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic KnowledgeConnectorSettings build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic KnowledgeConnectorSettings buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic KnowledgeConnectorSettings.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>public KnowledgeConnectorSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>public KnowledgeConnectorSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>public KnowledgeConnectorSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>public KnowledgeConnectorSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>public KnowledgeConnectorSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>public KnowledgeConnectorSettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<KnowledgeConnectorSettings.Builder>public KnowledgeConnectorSettings.Builder mergeFrom(KnowledgeConnectorSettings other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>public KnowledgeConnectorSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<KnowledgeConnectorSettings.Builder>IOExceptionpublic KnowledgeConnectorSettings.TargetCase getTargetCase()
getTargetCase in interface KnowledgeConnectorSettingsOrBuilderpublic KnowledgeConnectorSettings.Builder clearTarget()
public boolean getEnabled()
Whether Knowledge Connector is enabled or not.
bool enabled = 1;getEnabled in interface KnowledgeConnectorSettingsOrBuilderpublic KnowledgeConnectorSettings.Builder setEnabled(boolean value)
Whether Knowledge Connector is enabled or not.
bool enabled = 1;value - The enabled to set.public KnowledgeConnectorSettings.Builder clearEnabled()
Whether Knowledge Connector is enabled or not.
bool enabled = 1;public 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;hasTriggerFulfillment in interface KnowledgeConnectorSettingsOrBuilderpublic 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;getTriggerFulfillment in interface KnowledgeConnectorSettingsOrBuilderpublic KnowledgeConnectorSettings.Builder setTriggerFulfillment(Fulfillment value)
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;public KnowledgeConnectorSettings.Builder setTriggerFulfillment(Fulfillment.Builder builderForValue)
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;public KnowledgeConnectorSettings.Builder mergeTriggerFulfillment(Fulfillment value)
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;public KnowledgeConnectorSettings.Builder clearTriggerFulfillment()
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;public Fulfillment.Builder getTriggerFulfillmentBuilder()
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;public 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;getTriggerFulfillmentOrBuilder in interface KnowledgeConnectorSettingsOrBuilderpublic 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) = { ... }hasTargetPage in interface KnowledgeConnectorSettingsOrBuilderpublic 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) = { ... }getTargetPage in interface KnowledgeConnectorSettingsOrBuilderpublic 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) = { ... }getTargetPageBytes in interface KnowledgeConnectorSettingsOrBuilderpublic KnowledgeConnectorSettings.Builder setTargetPage(String value)
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) = { ... }value - The targetPage to set.public KnowledgeConnectorSettings.Builder clearTargetPage()
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) = { ... }public KnowledgeConnectorSettings.Builder setTargetPageBytes(com.google.protobuf.ByteString value)
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) = { ... }value - The bytes for targetPage to set.public 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) = { ... }hasTargetFlow in interface KnowledgeConnectorSettingsOrBuilderpublic 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) = { ... }getTargetFlow in interface KnowledgeConnectorSettingsOrBuilderpublic 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) = { ... }getTargetFlowBytes in interface KnowledgeConnectorSettingsOrBuilderpublic KnowledgeConnectorSettings.Builder setTargetFlow(String value)
The target flow to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string target_flow = 5 [(.google.api.resource_reference) = { ... }value - The targetFlow to set.public KnowledgeConnectorSettings.Builder clearTargetFlow()
The target flow to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string target_flow = 5 [(.google.api.resource_reference) = { ... }public KnowledgeConnectorSettings.Builder setTargetFlowBytes(com.google.protobuf.ByteString value)
The target flow to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string target_flow = 5 [(.google.api.resource_reference) = { ... }value - The bytes for targetFlow to set.public 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];
getDataStoreConnectionsList in interface KnowledgeConnectorSettingsOrBuilderpublic 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];
getDataStoreConnectionsCount in interface KnowledgeConnectorSettingsOrBuilderpublic 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];
getDataStoreConnections in interface KnowledgeConnectorSettingsOrBuilderpublic KnowledgeConnectorSettings.Builder setDataStoreConnections(int index, DataStoreConnection value)
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
public KnowledgeConnectorSettings.Builder setDataStoreConnections(int index, DataStoreConnection.Builder builderForValue)
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
public KnowledgeConnectorSettings.Builder addDataStoreConnections(DataStoreConnection value)
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
public KnowledgeConnectorSettings.Builder addDataStoreConnections(int index, DataStoreConnection value)
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
public KnowledgeConnectorSettings.Builder addDataStoreConnections(DataStoreConnection.Builder builderForValue)
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
public KnowledgeConnectorSettings.Builder addDataStoreConnections(int index, DataStoreConnection.Builder builderForValue)
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
public KnowledgeConnectorSettings.Builder addAllDataStoreConnections(Iterable<? extends DataStoreConnection> values)
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
public KnowledgeConnectorSettings.Builder clearDataStoreConnections()
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
public KnowledgeConnectorSettings.Builder removeDataStoreConnections(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];
public DataStoreConnection.Builder getDataStoreConnectionsBuilder(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];
public 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];
getDataStoreConnectionsOrBuilder in interface KnowledgeConnectorSettingsOrBuilderpublic 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];
getDataStoreConnectionsOrBuilderList in interface KnowledgeConnectorSettingsOrBuilderpublic DataStoreConnection.Builder addDataStoreConnectionsBuilder()
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
public DataStoreConnection.Builder addDataStoreConnectionsBuilder(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];
public List<DataStoreConnection.Builder> getDataStoreConnectionsBuilderList()
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
public final KnowledgeConnectorSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>public final KnowledgeConnectorSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder>Copyright © 2025 Google LLC. All rights reserved.