public final class KnowledgeConnectorSettings extends com.google.protobuf.GeneratedMessageV3 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.KnowledgeConnectorSettings| Modifier and Type | Class and Description |
|---|---|
static class |
KnowledgeConnectorSettings.Builder
The Knowledge Connector settings for this page or flow.
|
static class |
KnowledgeConnectorSettings.TargetCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_STORE_CONNECTIONS_FIELD_NUMBER |
static int |
ENABLED_FIELD_NUMBER |
static int |
TARGET_FLOW_FIELD_NUMBER |
static int |
TARGET_PAGE_FIELD_NUMBER |
static int |
TRIGGER_FULFILLMENT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DataStoreConnection |
getDataStoreConnections(int index)
Optional.
|
int |
getDataStoreConnectionsCount()
Optional.
|
List<DataStoreConnection> |
getDataStoreConnectionsList()
Optional.
|
DataStoreConnectionOrBuilder |
getDataStoreConnectionsOrBuilder(int index)
Optional.
|
List<? extends DataStoreConnectionOrBuilder> |
getDataStoreConnectionsOrBuilderList()
Optional.
|
static KnowledgeConnectorSettings |
getDefaultInstance() |
KnowledgeConnectorSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnabled()
Whether Knowledge Connector is enabled or not.
|
com.google.protobuf.Parser<KnowledgeConnectorSettings> |
getParserForType() |
int |
getSerializedSize() |
KnowledgeConnectorSettings.TargetCase |
getTargetCase() |
String |
getTargetFlow()
The target flow to transition to.
|
com.google.protobuf.ByteString |
getTargetFlowBytes()
The target flow to transition to.
|
String |
getTargetPage()
The target page to transition to.
|
com.google.protobuf.ByteString |
getTargetPageBytes()
The target page to transition to.
|
Fulfillment |
getTriggerFulfillment()
The fulfillment to be triggered.
|
FulfillmentOrBuilder |
getTriggerFulfillmentOrBuilder()
The fulfillment to be triggered.
|
int |
hashCode() |
boolean |
hasTargetFlow()
The target flow to transition to.
|
boolean |
hasTargetPage()
The target page to transition to.
|
boolean |
hasTriggerFulfillment()
The fulfillment to be triggered.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KnowledgeConnectorSettings.Builder |
newBuilder() |
static KnowledgeConnectorSettings.Builder |
newBuilder(KnowledgeConnectorSettings prototype) |
KnowledgeConnectorSettings.Builder |
newBuilderForType() |
protected KnowledgeConnectorSettings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static KnowledgeConnectorSettings |
parseDelimitedFrom(InputStream input) |
static KnowledgeConnectorSettings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KnowledgeConnectorSettings |
parseFrom(byte[] data) |
static KnowledgeConnectorSettings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KnowledgeConnectorSettings |
parseFrom(ByteBuffer data) |
static KnowledgeConnectorSettings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KnowledgeConnectorSettings |
parseFrom(com.google.protobuf.ByteString data) |
static KnowledgeConnectorSettings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KnowledgeConnectorSettings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KnowledgeConnectorSettings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KnowledgeConnectorSettings |
parseFrom(InputStream input) |
static KnowledgeConnectorSettings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<KnowledgeConnectorSettings> |
parser() |
KnowledgeConnectorSettings.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENABLED_FIELD_NUMBER
public static final int TRIGGER_FULFILLMENT_FIELD_NUMBER
public static final int TARGET_PAGE_FIELD_NUMBER
public static final int TARGET_FLOW_FIELD_NUMBER
public static final int DATA_STORE_CONNECTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public KnowledgeConnectorSettings.TargetCase getTargetCase()
getTargetCase in interface KnowledgeConnectorSettingsOrBuilderpublic boolean getEnabled()
Whether Knowledge Connector is enabled or not.
bool enabled = 1;getEnabled in interface KnowledgeConnectorSettingsOrBuilderpublic 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 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 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static KnowledgeConnectorSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KnowledgeConnectorSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KnowledgeConnectorSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KnowledgeConnectorSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KnowledgeConnectorSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KnowledgeConnectorSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KnowledgeConnectorSettings parseFrom(InputStream input) throws IOException
IOExceptionpublic static KnowledgeConnectorSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KnowledgeConnectorSettings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KnowledgeConnectorSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KnowledgeConnectorSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KnowledgeConnectorSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic KnowledgeConnectorSettings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KnowledgeConnectorSettings.Builder newBuilder()
public static KnowledgeConnectorSettings.Builder newBuilder(KnowledgeConnectorSettings prototype)
public KnowledgeConnectorSettings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KnowledgeConnectorSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static KnowledgeConnectorSettings getDefaultInstance()
public static com.google.protobuf.Parser<KnowledgeConnectorSettings> parser()
public com.google.protobuf.Parser<KnowledgeConnectorSettings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public KnowledgeConnectorSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.