- 0.87.0 (latest)
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.0
- 0.81.0
- 0.79.0
- 0.78.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class KnowledgeConnectorSettings.Builder extends GeneratedMessageV3.Builder<KnowledgeConnectorSettings.Builder> implements KnowledgeConnectorSettingsOrBuilderThe 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > KnowledgeConnectorSettings.BuilderImplements
KnowledgeConnectorSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDataStoreConnections(Iterable<? extends DataStoreConnection> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.DataStoreConnection> |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
addDataStoreConnections(DataStoreConnection value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
DataStoreConnection |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
addDataStoreConnections(DataStoreConnection.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataStoreConnection.Builder |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
addDataStoreConnections(int index, DataStoreConnection value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DataStoreConnection |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
addDataStoreConnections(int index, DataStoreConnection.Builder builderForValue)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DataStoreConnection.Builder |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
addDataStoreConnectionsBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
DataStoreConnection.Builder |
|
addDataStoreConnectionsBuilder(int index)
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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnection.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KnowledgeConnectorSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
build()
public KnowledgeConnectorSettings build()| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings |
|
buildPartial()
public KnowledgeConnectorSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings |
|
clear()
public KnowledgeConnectorSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
clearDataStoreConnections()
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];
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
clearEnabled()
public KnowledgeConnectorSettings.Builder clearEnabled()Whether Knowledge Connector is enabled or not.
bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public KnowledgeConnectorSettings.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public KnowledgeConnectorSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
clearTarget()
public KnowledgeConnectorSettings.Builder clearTarget()| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
clearTargetFlow()
public KnowledgeConnectorSettings.Builder clearTargetFlow() 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 |
KnowledgeConnectorSettings.Builder |
This builder for chaining. |
clearTargetPage()
public KnowledgeConnectorSettings.Builder clearTargetPage() 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 |
KnowledgeConnectorSettings.Builder |
This builder for chaining. |
clearTriggerFulfillment()
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;
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
clone()
public KnowledgeConnectorSettings.Builder clone()| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
getDataStoreConnections(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnection |
|
getDataStoreConnectionsBuilder(int index)
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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnection.Builder |
|
getDataStoreConnectionsBuilderList()
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];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getDataStoreConnectionsCount()
public 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];
| Returns | |
|---|---|
| Type | Description |
int |
|
getDataStoreConnectionsList()
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];
| Returns | |
|---|---|
| Type | Description |
List<DataStoreConnection> |
|
getDataStoreConnectionsOrBuilder(int index)
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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionOrBuilder |
|
getDataStoreConnectionsOrBuilderList()
public 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];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.DataStoreConnectionOrBuilder> |
|
getDefaultInstanceForType()
public KnowledgeConnectorSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnabled()
public boolean getEnabled()Whether Knowledge Connector is enabled or not.
bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enabled. |
getTargetCase()
public KnowledgeConnectorSettings.TargetCase getTargetCase()| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.TargetCase |
|
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.v3.Fulfillment trigger_fulfillment = 3;
| Returns | |
|---|---|
| Type | Description |
Fulfillment |
The triggerFulfillment. |
getTriggerFulfillmentBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
Fulfillment.Builder |
|
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.v3.Fulfillment trigger_fulfillment = 3;
| Returns | |
|---|---|
| Type | Description |
FulfillmentOrBuilder |
|
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.v3.Fulfillment trigger_fulfillment = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the triggerFulfillment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(KnowledgeConnectorSettings other)
public KnowledgeConnectorSettings.Builder mergeFrom(KnowledgeConnectorSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
KnowledgeConnectorSettings |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public KnowledgeConnectorSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public KnowledgeConnectorSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
mergeTriggerFulfillment(Fulfillment value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
Fulfillment |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KnowledgeConnectorSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
removeDataStoreConnections(int index)
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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
setDataStoreConnections(int index, DataStoreConnection value)
public 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DataStoreConnection |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
setDataStoreConnections(int index, DataStoreConnection.Builder builderForValue)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DataStoreConnection.Builder |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
setEnabled(boolean value)
public KnowledgeConnectorSettings.Builder setEnabled(boolean value)Whether Knowledge Connector is enabled or not.
bool enabled = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enabled to set. |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public KnowledgeConnectorSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KnowledgeConnectorSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
setTargetFlow(String value)
public KnowledgeConnectorSettings.Builder setTargetFlow(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetFlow to set. |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setTargetFlowBytes(ByteString value)
public KnowledgeConnectorSettings.Builder setTargetFlowBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetFlow to set. |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setTargetPage(String value)
public KnowledgeConnectorSettings.Builder setTargetPage(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetPage to set. |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setTargetPageBytes(ByteString value)
public KnowledgeConnectorSettings.Builder setTargetPageBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetPage to set. |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setTriggerFulfillment(Fulfillment value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Fulfillment |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
setTriggerFulfillment(Fulfillment.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Fulfillment.Builder |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final KnowledgeConnectorSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
KnowledgeConnectorSettings.Builder |
|