@Deprecated public class Conversation extends WatsonService
defaultHeaders, JSON_MIME_PATTERN, JSON_PATCH_MIME_PATTERN, MESSAGE_CODE, MESSAGE_ERROR, skipAuthentication, VERSION| Constructor and Description |
|---|
Conversation(java.lang.String versionDate)
Deprecated.
Instantiates a new `Conversation`.
|
Conversation(java.lang.String versionDate,
IamOptions iamOptions)
Deprecated.
Instantiates a new `Conversation` with IAM.
|
Conversation(java.lang.String versionDate,
java.lang.String username,
java.lang.String password)
Deprecated.
Instantiates a new `Conversation` with username and password.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceCall<Counterexample> |
createCounterexample(CreateCounterexampleOptions createCounterexampleOptions)
Deprecated.
Create counterexample.
|
ServiceCall<DialogNode> |
createDialogNode(CreateDialogNodeOptions createDialogNodeOptions)
Deprecated.
Create dialog node.
|
ServiceCall<Entity> |
createEntity(CreateEntityOptions createEntityOptions)
Deprecated.
Create entity.
|
ServiceCall<Example> |
createExample(CreateExampleOptions createExampleOptions)
Deprecated.
Create user input example.
|
ServiceCall<Intent> |
createIntent(CreateIntentOptions createIntentOptions)
Deprecated.
Create intent.
|
ServiceCall<Synonym> |
createSynonym(CreateSynonymOptions createSynonymOptions)
Deprecated.
Add entity value synonym.
|
ServiceCall<Value> |
createValue(CreateValueOptions createValueOptions)
Deprecated.
Add entity value.
|
ServiceCall<Workspace> |
createWorkspace()
Deprecated.
Create workspace.
|
ServiceCall<Workspace> |
createWorkspace(CreateWorkspaceOptions createWorkspaceOptions)
Deprecated.
Create workspace.
|
ServiceCall<java.lang.Void> |
deleteCounterexample(DeleteCounterexampleOptions deleteCounterexampleOptions)
Deprecated.
Delete counterexample.
|
ServiceCall<java.lang.Void> |
deleteDialogNode(DeleteDialogNodeOptions deleteDialogNodeOptions)
Deprecated.
Delete dialog node.
|
ServiceCall<java.lang.Void> |
deleteEntity(DeleteEntityOptions deleteEntityOptions)
Deprecated.
Delete entity.
|
ServiceCall<java.lang.Void> |
deleteExample(DeleteExampleOptions deleteExampleOptions)
Deprecated.
Delete user input example.
|
ServiceCall<java.lang.Void> |
deleteIntent(DeleteIntentOptions deleteIntentOptions)
Deprecated.
Delete intent.
|
ServiceCall<java.lang.Void> |
deleteSynonym(DeleteSynonymOptions deleteSynonymOptions)
Deprecated.
Delete entity value synonym.
|
ServiceCall<java.lang.Void> |
deleteUserData(DeleteUserDataOptions deleteUserDataOptions)
Deprecated.
Delete labeled data.
|
ServiceCall<java.lang.Void> |
deleteValue(DeleteValueOptions deleteValueOptions)
Deprecated.
Delete entity value.
|
ServiceCall<java.lang.Void> |
deleteWorkspace(DeleteWorkspaceOptions deleteWorkspaceOptions)
Deprecated.
Delete workspace.
|
ServiceCall<Counterexample> |
getCounterexample(GetCounterexampleOptions getCounterexampleOptions)
Deprecated.
Get counterexample.
|
ServiceCall<DialogNode> |
getDialogNode(GetDialogNodeOptions getDialogNodeOptions)
Deprecated.
Get dialog node.
|
ServiceCall<EntityExport> |
getEntity(GetEntityOptions getEntityOptions)
Deprecated.
Get entity.
|
ServiceCall<Example> |
getExample(GetExampleOptions getExampleOptions)
Deprecated.
Get user input example.
|
ServiceCall<IntentExport> |
getIntent(GetIntentOptions getIntentOptions)
Deprecated.
Get intent.
|
ServiceCall<Synonym> |
getSynonym(GetSynonymOptions getSynonymOptions)
Deprecated.
Get entity value synonym.
|
ServiceCall<ValueExport> |
getValue(GetValueOptions getValueOptions)
Deprecated.
Get entity value.
|
ServiceCall<WorkspaceExport> |
getWorkspace(GetWorkspaceOptions getWorkspaceOptions)
Deprecated.
Get information about a workspace.
|
ServiceCall<LogCollection> |
listAllLogs(ListAllLogsOptions listAllLogsOptions)
Deprecated.
List log events in all workspaces.
|
ServiceCall<CounterexampleCollection> |
listCounterexamples(ListCounterexamplesOptions listCounterexamplesOptions)
Deprecated.
List counterexamples.
|
ServiceCall<DialogNodeCollection> |
listDialogNodes(ListDialogNodesOptions listDialogNodesOptions)
Deprecated.
List dialog nodes.
|
ServiceCall<EntityCollection> |
listEntities(ListEntitiesOptions listEntitiesOptions)
Deprecated.
List entities.
|
ServiceCall<ExampleCollection> |
listExamples(ListExamplesOptions listExamplesOptions)
Deprecated.
List user input examples.
|
ServiceCall<IntentCollection> |
listIntents(ListIntentsOptions listIntentsOptions)
Deprecated.
List intents.
|
ServiceCall<LogCollection> |
listLogs(ListLogsOptions listLogsOptions)
Deprecated.
List log events in a workspace.
|
ServiceCall<EntityMentionCollection> |
listMentions(ListMentionsOptions listMentionsOptions)
Deprecated.
List entity mentions.
|
ServiceCall<SynonymCollection> |
listSynonyms(ListSynonymsOptions listSynonymsOptions)
Deprecated.
List entity value synonyms.
|
ServiceCall<ValueCollection> |
listValues(ListValuesOptions listValuesOptions)
Deprecated.
List entity values.
|
ServiceCall<WorkspaceCollection> |
listWorkspaces()
Deprecated.
List workspaces.
|
ServiceCall<WorkspaceCollection> |
listWorkspaces(ListWorkspacesOptions listWorkspacesOptions)
Deprecated.
List workspaces.
|
ServiceCall<MessageResponse> |
message(MessageOptions messageOptions)
Deprecated.
Get response to user input.
|
ServiceCall<Counterexample> |
updateCounterexample(UpdateCounterexampleOptions updateCounterexampleOptions)
Deprecated.
Update counterexample.
|
ServiceCall<DialogNode> |
updateDialogNode(UpdateDialogNodeOptions updateDialogNodeOptions)
Deprecated.
Update dialog node.
|
ServiceCall<Entity> |
updateEntity(UpdateEntityOptions updateEntityOptions)
Deprecated.
Update entity.
|
ServiceCall<Example> |
updateExample(UpdateExampleOptions updateExampleOptions)
Deprecated.
Update user input example.
|
ServiceCall<Intent> |
updateIntent(UpdateIntentOptions updateIntentOptions)
Deprecated.
Update intent.
|
ServiceCall<Synonym> |
updateSynonym(UpdateSynonymOptions updateSynonymOptions)
Deprecated.
Update entity value synonym.
|
ServiceCall<Value> |
updateValue(UpdateValueOptions updateValueOptions)
Deprecated.
Update entity value.
|
ServiceCall<Workspace> |
updateWorkspace(UpdateWorkspaceOptions updateWorkspaceOptions)
Deprecated.
Update workspace.
|
configureClient, configureHttpClient, createServiceCall, getApiKey, getEndPoint, getName, getPassword, getToken, getUsername, isJsonMimeType, isJsonPatchMimeType, isTokenManagerSet, processServiceCall, setApiKey, setAuthentication, setDefaultHeaders, setDefaultHeaders, setEndPoint, setIamCredentials, setSkipAuthentication, setUsernameAndPassword, toStringpublic Conversation(java.lang.String versionDate)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.public Conversation(java.lang.String versionDate,
java.lang.String username,
java.lang.String password)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.username - the usernamepassword - the passwordpublic Conversation(java.lang.String versionDate,
IamOptions iamOptions)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.iamOptions - the options for authenticating through IAMpublic ServiceCall<MessageResponse> message(MessageOptions messageOptions)
messageOptions - the MessageOptions containing the options for the callServiceCall with a response type of MessageResponsepublic ServiceCall<Workspace> createWorkspace(CreateWorkspaceOptions createWorkspaceOptions)
createWorkspaceOptions - the CreateWorkspaceOptions containing the options for the callServiceCall with a response type of Workspacepublic ServiceCall<Workspace> createWorkspace()
ServiceCall with a response type of Workspacepublic ServiceCall<java.lang.Void> deleteWorkspace(DeleteWorkspaceOptions deleteWorkspaceOptions)
deleteWorkspaceOptions - the DeleteWorkspaceOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<WorkspaceExport> getWorkspace(GetWorkspaceOptions getWorkspaceOptions)
getWorkspaceOptions - the GetWorkspaceOptions containing the options for the callServiceCall with a response type of WorkspaceExportpublic ServiceCall<WorkspaceCollection> listWorkspaces(ListWorkspacesOptions listWorkspacesOptions)
listWorkspacesOptions - the ListWorkspacesOptions containing the options for the callServiceCall with a response type of WorkspaceCollectionpublic ServiceCall<WorkspaceCollection> listWorkspaces()
ServiceCall with a response type of WorkspaceCollectionpublic ServiceCall<Workspace> updateWorkspace(UpdateWorkspaceOptions updateWorkspaceOptions)
updateWorkspaceOptions - the UpdateWorkspaceOptions containing the options for the callServiceCall with a response type of Workspacepublic ServiceCall<Intent> createIntent(CreateIntentOptions createIntentOptions)
createIntentOptions - the CreateIntentOptions containing the options for the callServiceCall with a response type of Intentpublic ServiceCall<java.lang.Void> deleteIntent(DeleteIntentOptions deleteIntentOptions)
deleteIntentOptions - the DeleteIntentOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<IntentExport> getIntent(GetIntentOptions getIntentOptions)
getIntentOptions - the GetIntentOptions containing the options for the callServiceCall with a response type of IntentExportpublic ServiceCall<IntentCollection> listIntents(ListIntentsOptions listIntentsOptions)
listIntentsOptions - the ListIntentsOptions containing the options for the callServiceCall with a response type of IntentCollectionpublic ServiceCall<Intent> updateIntent(UpdateIntentOptions updateIntentOptions)
updateIntentOptions - the UpdateIntentOptions containing the options for the callServiceCall with a response type of Intentpublic ServiceCall<Example> createExample(CreateExampleOptions createExampleOptions)
createExampleOptions - the CreateExampleOptions containing the options for the callServiceCall with a response type of Examplepublic ServiceCall<java.lang.Void> deleteExample(DeleteExampleOptions deleteExampleOptions)
deleteExampleOptions - the DeleteExampleOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<Example> getExample(GetExampleOptions getExampleOptions)
getExampleOptions - the GetExampleOptions containing the options for the callServiceCall with a response type of Examplepublic ServiceCall<ExampleCollection> listExamples(ListExamplesOptions listExamplesOptions)
listExamplesOptions - the ListExamplesOptions containing the options for the callServiceCall with a response type of ExampleCollectionpublic ServiceCall<Example> updateExample(UpdateExampleOptions updateExampleOptions)
updateExampleOptions - the UpdateExampleOptions containing the options for the callServiceCall with a response type of Examplepublic ServiceCall<Counterexample> createCounterexample(CreateCounterexampleOptions createCounterexampleOptions)
createCounterexampleOptions - the CreateCounterexampleOptions containing the options for the callServiceCall with a response type of Counterexamplepublic ServiceCall<java.lang.Void> deleteCounterexample(DeleteCounterexampleOptions deleteCounterexampleOptions)
deleteCounterexampleOptions - the DeleteCounterexampleOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<Counterexample> getCounterexample(GetCounterexampleOptions getCounterexampleOptions)
getCounterexampleOptions - the GetCounterexampleOptions containing the options for the callServiceCall with a response type of Counterexamplepublic ServiceCall<CounterexampleCollection> listCounterexamples(ListCounterexamplesOptions listCounterexamplesOptions)
listCounterexamplesOptions - the ListCounterexamplesOptions containing the options for the callServiceCall with a response type of CounterexampleCollectionpublic ServiceCall<Counterexample> updateCounterexample(UpdateCounterexampleOptions updateCounterexampleOptions)
updateCounterexampleOptions - the UpdateCounterexampleOptions containing the options for the callServiceCall with a response type of Counterexamplepublic ServiceCall<Entity> createEntity(CreateEntityOptions createEntityOptions)
createEntityOptions - the CreateEntityOptions containing the options for the callServiceCall with a response type of Entitypublic ServiceCall<java.lang.Void> deleteEntity(DeleteEntityOptions deleteEntityOptions)
deleteEntityOptions - the DeleteEntityOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<EntityExport> getEntity(GetEntityOptions getEntityOptions)
getEntityOptions - the GetEntityOptions containing the options for the callServiceCall with a response type of EntityExportpublic ServiceCall<EntityCollection> listEntities(ListEntitiesOptions listEntitiesOptions)
listEntitiesOptions - the ListEntitiesOptions containing the options for the callServiceCall with a response type of EntityCollectionpublic ServiceCall<Entity> updateEntity(UpdateEntityOptions updateEntityOptions)
updateEntityOptions - the UpdateEntityOptions containing the options for the callServiceCall with a response type of Entitypublic ServiceCall<EntityMentionCollection> listMentions(ListMentionsOptions listMentionsOptions)
listMentionsOptions - the ListMentionsOptions containing the options for the callServiceCall with a response type of EntityMentionCollectionpublic ServiceCall<Value> createValue(CreateValueOptions createValueOptions)
createValueOptions - the CreateValueOptions containing the options for the callServiceCall with a response type of Valuepublic ServiceCall<java.lang.Void> deleteValue(DeleteValueOptions deleteValueOptions)
deleteValueOptions - the DeleteValueOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<ValueExport> getValue(GetValueOptions getValueOptions)
getValueOptions - the GetValueOptions containing the options for the callServiceCall with a response type of ValueExportpublic ServiceCall<ValueCollection> listValues(ListValuesOptions listValuesOptions)
listValuesOptions - the ListValuesOptions containing the options for the callServiceCall with a response type of ValueCollectionpublic ServiceCall<Value> updateValue(UpdateValueOptions updateValueOptions)
updateValueOptions - the UpdateValueOptions containing the options for the callServiceCall with a response type of Valuepublic ServiceCall<Synonym> createSynonym(CreateSynonymOptions createSynonymOptions)
createSynonymOptions - the CreateSynonymOptions containing the options for the callServiceCall with a response type of Synonympublic ServiceCall<java.lang.Void> deleteSynonym(DeleteSynonymOptions deleteSynonymOptions)
deleteSynonymOptions - the DeleteSynonymOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<Synonym> getSynonym(GetSynonymOptions getSynonymOptions)
getSynonymOptions - the GetSynonymOptions containing the options for the callServiceCall with a response type of Synonympublic ServiceCall<SynonymCollection> listSynonyms(ListSynonymsOptions listSynonymsOptions)
listSynonymsOptions - the ListSynonymsOptions containing the options for the callServiceCall with a response type of SynonymCollectionpublic ServiceCall<Synonym> updateSynonym(UpdateSynonymOptions updateSynonymOptions)
updateSynonymOptions - the UpdateSynonymOptions containing the options for the callServiceCall with a response type of Synonympublic ServiceCall<DialogNode> createDialogNode(CreateDialogNodeOptions createDialogNodeOptions)
createDialogNodeOptions - the CreateDialogNodeOptions containing the options for the callServiceCall with a response type of DialogNodepublic ServiceCall<java.lang.Void> deleteDialogNode(DeleteDialogNodeOptions deleteDialogNodeOptions)
deleteDialogNodeOptions - the DeleteDialogNodeOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<DialogNode> getDialogNode(GetDialogNodeOptions getDialogNodeOptions)
getDialogNodeOptions - the GetDialogNodeOptions containing the options for the callServiceCall with a response type of DialogNodepublic ServiceCall<DialogNodeCollection> listDialogNodes(ListDialogNodesOptions listDialogNodesOptions)
listDialogNodesOptions - the ListDialogNodesOptions containing the options for the callServiceCall with a response type of DialogNodeCollectionpublic ServiceCall<DialogNode> updateDialogNode(UpdateDialogNodeOptions updateDialogNodeOptions)
updateDialogNodeOptions - the UpdateDialogNodeOptions containing the options for the callServiceCall with a response type of DialogNodepublic ServiceCall<LogCollection> listAllLogs(ListAllLogsOptions listAllLogsOptions)
listAllLogsOptions - the ListAllLogsOptions containing the options for the callServiceCall with a response type of LogCollectionpublic ServiceCall<LogCollection> listLogs(ListLogsOptions listLogsOptions)
listLogsOptions - the ListLogsOptions containing the options for the callServiceCall with a response type of LogCollectionpublic ServiceCall<java.lang.Void> deleteUserData(DeleteUserDataOptions deleteUserDataOptions)
deleteUserDataOptions - the DeleteUserDataOptions containing the options for the callServiceCall with a response type of Void