Class ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub (2.4.0)

public static final class ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub extends AbstractFutureStub<ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub>

An API that lets users analyze and explore their business conversation data.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

calculateIssueModelStats(CalculateIssueModelStatsRequest request)

public ListenableFuture<CalculateIssueModelStatsResponse> calculateIssueModelStats(CalculateIssueModelStatsRequest request)

Gets an issue model's statistics.

Parameter
NameDescription
requestCalculateIssueModelStatsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CalculateIssueModelStatsResponse>

calculateStats(CalculateStatsRequest request)

public ListenableFuture<CalculateStatsResponse> calculateStats(CalculateStatsRequest request)

Gets conversation statistics.

Parameter
NameDescription
requestCalculateStatsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CalculateStatsResponse>

createAnalysis(CreateAnalysisRequest request)

public ListenableFuture<Operation> createAnalysis(CreateAnalysisRequest request)

Creates an analysis. The long running operation is done when the analysis has completed.

Parameter
NameDescription
requestCreateAnalysisRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createConversation(CreateConversationRequest request)

public ListenableFuture<Conversation> createConversation(CreateConversationRequest request)

Creates a conversation.

Parameter
NameDescription
requestCreateConversationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Conversation>

createIssueModel(CreateIssueModelRequest request)

public ListenableFuture<Operation> createIssueModel(CreateIssueModelRequest request)

Creates an issue model.

Parameter
NameDescription
requestCreateIssueModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createPhraseMatcher(CreatePhraseMatcherRequest request)

public ListenableFuture<PhraseMatcher> createPhraseMatcher(CreatePhraseMatcherRequest request)

Creates a phrase matcher.

Parameter
NameDescription
requestCreatePhraseMatcherRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<PhraseMatcher>

createView(CreateViewRequest request)

public ListenableFuture<View> createView(CreateViewRequest request)

Creates a view.

Parameter
NameDescription
requestCreateViewRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<View>

deleteAnalysis(DeleteAnalysisRequest request)

public ListenableFuture<Empty> deleteAnalysis(DeleteAnalysisRequest request)

Deletes an analysis.

Parameter
NameDescription
requestDeleteAnalysisRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteConversation(DeleteConversationRequest request)

public ListenableFuture<Empty> deleteConversation(DeleteConversationRequest request)

Deletes a conversation.

Parameter
NameDescription
requestDeleteConversationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteIssueModel(DeleteIssueModelRequest request)

public ListenableFuture<Operation> deleteIssueModel(DeleteIssueModelRequest request)

Deletes an issue model.

Parameter
NameDescription
requestDeleteIssueModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deletePhraseMatcher(DeletePhraseMatcherRequest request)

public ListenableFuture<Empty> deletePhraseMatcher(DeletePhraseMatcherRequest request)

Deletes a phrase matcher.

Parameter
NameDescription
requestDeletePhraseMatcherRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteView(DeleteViewRequest request)

public ListenableFuture<Empty> deleteView(DeleteViewRequest request)

Deletes a view.

Parameter
NameDescription
requestDeleteViewRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deployIssueModel(DeployIssueModelRequest request)

public ListenableFuture<Operation> deployIssueModel(DeployIssueModelRequest request)

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameter
NameDescription
requestDeployIssueModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

exportInsightsData(ExportInsightsDataRequest request)

public ListenableFuture<Operation> exportInsightsData(ExportInsightsDataRequest request)

Export insights data to a destination defined in the request body.

Parameter
NameDescription
requestExportInsightsDataRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getAnalysis(GetAnalysisRequest request)

public ListenableFuture<Analysis> getAnalysis(GetAnalysisRequest request)

Gets an analysis.

Parameter
NameDescription
requestGetAnalysisRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Analysis>

getConversation(GetConversationRequest request)

public ListenableFuture<Conversation> getConversation(GetConversationRequest request)

Gets a conversation.

Parameter
NameDescription
requestGetConversationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Conversation>

getIssue(GetIssueRequest request)

public ListenableFuture<Issue> getIssue(GetIssueRequest request)

Gets an issue.

Parameter
NameDescription
requestGetIssueRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Issue>

getIssueModel(GetIssueModelRequest request)

public ListenableFuture<IssueModel> getIssueModel(GetIssueModelRequest request)

Gets an issue model.

Parameter
NameDescription
requestGetIssueModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<IssueModel>

getPhraseMatcher(GetPhraseMatcherRequest request)

public ListenableFuture<PhraseMatcher> getPhraseMatcher(GetPhraseMatcherRequest request)

Gets a phrase matcher.

Parameter
NameDescription
requestGetPhraseMatcherRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<PhraseMatcher>

getSettings(GetSettingsRequest request)

public ListenableFuture<Settings> getSettings(GetSettingsRequest request)

Gets project-level settings.

Parameter
NameDescription
requestGetSettingsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Settings>

getView(GetViewRequest request)

public ListenableFuture<View> getView(GetViewRequest request)

Gets a view.

Parameter
NameDescription
requestGetViewRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<View>

listAnalyses(ListAnalysesRequest request)

public ListenableFuture<ListAnalysesResponse> listAnalyses(ListAnalysesRequest request)

Lists analyses.

Parameter
NameDescription
requestListAnalysesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAnalysesResponse>

listConversations(ListConversationsRequest request)

public ListenableFuture<ListConversationsResponse> listConversations(ListConversationsRequest request)

Lists conversations.

Parameter
NameDescription
requestListConversationsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListConversationsResponse>

listIssueModels(ListIssueModelsRequest request)

public ListenableFuture<ListIssueModelsResponse> listIssueModels(ListIssueModelsRequest request)

Lists issue models.

Parameter
NameDescription
requestListIssueModelsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListIssueModelsResponse>

listIssues(ListIssuesRequest request)

public ListenableFuture<ListIssuesResponse> listIssues(ListIssuesRequest request)

Lists issues.

Parameter
NameDescription
requestListIssuesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListIssuesResponse>

listPhraseMatchers(ListPhraseMatchersRequest request)

public ListenableFuture<ListPhraseMatchersResponse> listPhraseMatchers(ListPhraseMatchersRequest request)

Lists phrase matchers.

Parameter
NameDescription
requestListPhraseMatchersRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListPhraseMatchersResponse>

listViews(ListViewsRequest request)

public ListenableFuture<ListViewsResponse> listViews(ListViewsRequest request)

Lists views.

Parameter
NameDescription
requestListViewsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListViewsResponse>

undeployIssueModel(UndeployIssueModelRequest request)

public ListenableFuture<Operation> undeployIssueModel(UndeployIssueModelRequest request)

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.

Parameter
NameDescription
requestUndeployIssueModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateConversation(UpdateConversationRequest request)

public ListenableFuture<Conversation> updateConversation(UpdateConversationRequest request)

Updates a conversation.

Parameter
NameDescription
requestUpdateConversationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Conversation>

updateIssue(UpdateIssueRequest request)

public ListenableFuture<Issue> updateIssue(UpdateIssueRequest request)

Updates an issue.

Parameter
NameDescription
requestUpdateIssueRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Issue>

updateIssueModel(UpdateIssueModelRequest request)

public ListenableFuture<IssueModel> updateIssueModel(UpdateIssueModelRequest request)

Updates an issue model.

Parameter
NameDescription
requestUpdateIssueModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<IssueModel>

updatePhraseMatcher(UpdatePhraseMatcherRequest request)

public ListenableFuture<PhraseMatcher> updatePhraseMatcher(UpdatePhraseMatcherRequest request)

Updates a phrase matcher.

Parameter
NameDescription
requestUpdatePhraseMatcherRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<PhraseMatcher>

updateSettings(UpdateSettingsRequest request)

public ListenableFuture<Settings> updateSettings(UpdateSettingsRequest request)

Updates project-level settings.

Parameter
NameDescription
requestUpdateSettingsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Settings>

updateView(UpdateViewRequest request)

public ListenableFuture<View> updateView(UpdateViewRequest request)

Updates a view.

Parameter
NameDescription
requestUpdateViewRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<View>