Send feedback
Class KnowledgeConnectorSettings (0.41.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.41.0 keyboard_arrow_down
public final class KnowledgeConnectorSettings extends 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.v3beta1.KnowledgeConnectorSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
DATA_STORE_CONNECTIONS_FIELD_NUMBER
public static final int DATA_STORE_CONNECTIONS_FIELD_NUMBER
Field Value
Type
Description
int
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
Field Value
Type
Description
int
TARGET_FLOW_FIELD_NUMBER
public static final int TARGET_FLOW_FIELD_NUMBER
Field Value
Type
Description
int
TARGET_PAGE_FIELD_NUMBER
public static final int TARGET_PAGE_FIELD_NUMBER
Field Value
Type
Description
int
TRIGGER_FULFILLMENT_FIELD_NUMBER
public static final int TRIGGER_FULFILLMENT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static KnowledgeConnectorSettings getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static KnowledgeConnectorSettings . Builder newBuilder ()
newBuilder(KnowledgeConnectorSettings prototype)
public static KnowledgeConnectorSettings . Builder newBuilder ( KnowledgeConnectorSettings prototype )
public static KnowledgeConnectorSettings parseDelimitedFrom ( InputStream input )
public static KnowledgeConnectorSettings parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static KnowledgeConnectorSettings parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeConnectorSettings parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static KnowledgeConnectorSettings parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeConnectorSettings parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static KnowledgeConnectorSettings parseFrom ( CodedInputStream input )
public static KnowledgeConnectorSettings parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static KnowledgeConnectorSettings parseFrom ( InputStream input )
public static KnowledgeConnectorSettings parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static KnowledgeConnectorSettings parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeConnectorSettings parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<KnowledgeConnectorSettings> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDataStoreConnections(int index)
public DataStoreConnection getDataStoreConnections ( int index )
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getDataStoreConnectionsCount()
public 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];
Returns
Type
Description
int
getDataStoreConnectionsList()
public 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];
getDataStoreConnectionsOrBuilder(int index)
public DataStoreConnectionOrBuilder getDataStoreConnectionsOrBuilder ( int index )
Optional. List of related data store connections.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getDataStoreConnectionsOrBuilderList()
public 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];
Returns
Type
Description
List <? extends com.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionOrBuilder >
getDefaultInstanceForType()
public KnowledgeConnectorSettings getDefaultInstanceForType ()
getEnabled()
public boolean getEnabled ()
Whether Knowledge Connector is enabled or not.
bool enabled = 1;
Returns
Type
Description
boolean
The enabled.
getParserForType()
public Parser<KnowledgeConnectorSettings> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getTargetCase()
public KnowledgeConnectorSettings . TargetCase getTargetCase ()
getTargetFlow()
public 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
Type
Description
String
The targetFlow.
getTargetFlowBytes()
public 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
Type
Description
ByteString
The bytes for targetFlow.
getTargetPage()
public 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
Type
Description
String
The targetPage.
getTargetPageBytes()
public 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
Type
Description
ByteString
The bytes for targetPage.
getTriggerFulfillment()
public 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
Type
Description
Fulfillment
The triggerFulfillment.
getTriggerFulfillmentOrBuilder()
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.v3beta1.Fulfillment trigger_fulfillment = 3;
hasTargetFlow()
public 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
Type
Description
boolean
Whether the targetFlow field is set.
hasTargetPage()
public 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
Type
Description
boolean
Whether the targetPage field is set.
hasTriggerFulfillment()
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.v3beta1.Fulfillment trigger_fulfillment = 3;
Returns
Type
Description
boolean
Whether the triggerFulfillment field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public KnowledgeConnectorSettings . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KnowledgeConnectorSettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public KnowledgeConnectorSettings . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]