Class ContactCenterInsightsGrpc.ContactCenterInsightsStub (2.51.0)

See more code actions.
public static final class ContactCenterInsightsGrpc.ContactCenterInsightsStub extends AbstractAsyncStub<ContactCenterInsightsGrpc.ContactCenterInsightsStub>

A stub to allow clients to do asynchronous rpc calls to service ContactCenterInsights.

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

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ContactCenterInsightsGrpc.ContactCenterInsightsStub
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected ContactCenterInsightsGrpc.ContactCenterInsightsStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

bulkAnalyzeConversations(BulkAnalyzeConversationsRequest request, StreamObserver<Operation> responseObserver)

public void bulkAnalyzeConversations(BulkAnalyzeConversationsRequest request, StreamObserver<Operation> responseObserver)

Analyzes multiple conversations in a single request.

Parameters
Name Description
request BulkAnalyzeConversationsRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

bulkDeleteConversations(BulkDeleteConversationsRequest request, StreamObserver<Operation> responseObserver)

public void bulkDeleteConversations(BulkDeleteConversationsRequest request, StreamObserver<Operation> responseObserver)

Deletes multiple conversations in a single request.

Parameters
Name Description
request BulkDeleteConversationsRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

calculateIssueModelStats(CalculateIssueModelStatsRequest request, StreamObserver<CalculateIssueModelStatsResponse> responseObserver)

public void calculateIssueModelStats(CalculateIssueModelStatsRequest request, StreamObserver<CalculateIssueModelStatsResponse> responseObserver)

Gets an issue model's statistics.

Parameters
Name Description
request CalculateIssueModelStatsRequest
responseObserver io.grpc.stub.StreamObserver<CalculateIssueModelStatsResponse>

calculateStats(CalculateStatsRequest request, StreamObserver<CalculateStatsResponse> responseObserver)

public void calculateStats(CalculateStatsRequest request, StreamObserver<CalculateStatsResponse> responseObserver)

Gets conversation statistics.

Parameters
Name Description
request CalculateStatsRequest
responseObserver io.grpc.stub.StreamObserver<CalculateStatsResponse>

createAnalysis(CreateAnalysisRequest request, StreamObserver<Operation> responseObserver)

public void createAnalysis(CreateAnalysisRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request CreateAnalysisRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createConversation(CreateConversationRequest request, StreamObserver<Conversation> responseObserver)

public void createConversation(CreateConversationRequest request, StreamObserver<Conversation> responseObserver)

Creates a conversation.

Parameters
Name Description
request CreateConversationRequest
responseObserver io.grpc.stub.StreamObserver<Conversation>

createIssueModel(CreateIssueModelRequest request, StreamObserver<Operation> responseObserver)

public void createIssueModel(CreateIssueModelRequest request, StreamObserver<Operation> responseObserver)

Creates an issue model.

Parameters
Name Description
request CreateIssueModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createPhraseMatcher(CreatePhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

public void createPhraseMatcher(CreatePhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

Creates a phrase matcher.

Parameters
Name Description
request CreatePhraseMatcherRequest
responseObserver io.grpc.stub.StreamObserver<PhraseMatcher>

createView(CreateViewRequest request, StreamObserver<View> responseObserver)

public void createView(CreateViewRequest request, StreamObserver<View> responseObserver)

Creates a view.

Parameters
Name Description
request CreateViewRequest
responseObserver io.grpc.stub.StreamObserver<View>

deleteAnalysis(DeleteAnalysisRequest request, StreamObserver<Empty> responseObserver)

public void deleteAnalysis(DeleteAnalysisRequest request, StreamObserver<Empty> responseObserver)

Deletes an analysis.

Parameters
Name Description
request DeleteAnalysisRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteConversation(DeleteConversationRequest request, StreamObserver<Empty> responseObserver)

public void deleteConversation(DeleteConversationRequest request, StreamObserver<Empty> responseObserver)

Deletes a conversation.

Parameters
Name Description
request DeleteConversationRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteIssue(DeleteIssueRequest request, StreamObserver<Empty> responseObserver)

public void deleteIssue(DeleteIssueRequest request, StreamObserver<Empty> responseObserver)

Deletes an issue.

Parameters
Name Description
request DeleteIssueRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteIssueModel(DeleteIssueModelRequest request, StreamObserver<Operation> responseObserver)

public void deleteIssueModel(DeleteIssueModelRequest request, StreamObserver<Operation> responseObserver)

Deletes an issue model.

Parameters
Name Description
request DeleteIssueModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deletePhraseMatcher(DeletePhraseMatcherRequest request, StreamObserver<Empty> responseObserver)

public void deletePhraseMatcher(DeletePhraseMatcherRequest request, StreamObserver<Empty> responseObserver)

Deletes a phrase matcher.

Parameters
Name Description
request DeletePhraseMatcherRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteView(DeleteViewRequest request, StreamObserver<Empty> responseObserver)

public void deleteView(DeleteViewRequest request, StreamObserver<Empty> responseObserver)

Deletes a view.

Parameters
Name Description
request DeleteViewRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deployIssueModel(DeployIssueModelRequest request, StreamObserver<Operation> responseObserver)

public void deployIssueModel(DeployIssueModelRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request DeployIssueModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

exportInsightsData(ExportInsightsDataRequest request, StreamObserver<Operation> responseObserver)

public void exportInsightsData(ExportInsightsDataRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request ExportInsightsDataRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getAnalysis(GetAnalysisRequest request, StreamObserver<Analysis> responseObserver)

public void getAnalysis(GetAnalysisRequest request, StreamObserver<Analysis> responseObserver)

Gets an analysis.

Parameters
Name Description
request GetAnalysisRequest
responseObserver io.grpc.stub.StreamObserver<Analysis>

getConversation(GetConversationRequest request, StreamObserver<Conversation> responseObserver)

public void getConversation(GetConversationRequest request, StreamObserver<Conversation> responseObserver)

Gets a conversation.

Parameters
Name Description
request GetConversationRequest
responseObserver io.grpc.stub.StreamObserver<Conversation>

getIssue(GetIssueRequest request, StreamObserver<Issue> responseObserver)

public void getIssue(GetIssueRequest request, StreamObserver<Issue> responseObserver)

Gets an issue.

Parameters
Name Description
request GetIssueRequest
responseObserver io.grpc.stub.StreamObserver<Issue>

getIssueModel(GetIssueModelRequest request, StreamObserver<IssueModel> responseObserver)

public void getIssueModel(GetIssueModelRequest request, StreamObserver<IssueModel> responseObserver)

Gets an issue model.

Parameters
Name Description
request GetIssueModelRequest
responseObserver io.grpc.stub.StreamObserver<IssueModel>

getPhraseMatcher(GetPhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

public void getPhraseMatcher(GetPhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

Gets a phrase matcher.

Parameters
Name Description
request GetPhraseMatcherRequest
responseObserver io.grpc.stub.StreamObserver<PhraseMatcher>

getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

public void getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

Gets project-level settings.

Parameters
Name Description
request GetSettingsRequest
responseObserver io.grpc.stub.StreamObserver<Settings>

getView(GetViewRequest request, StreamObserver<View> responseObserver)

public void getView(GetViewRequest request, StreamObserver<View> responseObserver)

Gets a view.

Parameters
Name Description
request GetViewRequest
responseObserver io.grpc.stub.StreamObserver<View>

ingestConversations(IngestConversationsRequest request, StreamObserver<Operation> responseObserver)

public void ingestConversations(IngestConversationsRequest request, StreamObserver<Operation> responseObserver)

Imports conversations and processes them according to the user's configuration.

Parameters
Name Description
request IngestConversationsRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

listAnalyses(ListAnalysesRequest request, StreamObserver<ListAnalysesResponse> responseObserver)

public void listAnalyses(ListAnalysesRequest request, StreamObserver<ListAnalysesResponse> responseObserver)

Lists analyses.

Parameters
Name Description
request ListAnalysesRequest
responseObserver io.grpc.stub.StreamObserver<ListAnalysesResponse>

listConversations(ListConversationsRequest request, StreamObserver<ListConversationsResponse> responseObserver)

public void listConversations(ListConversationsRequest request, StreamObserver<ListConversationsResponse> responseObserver)

Lists conversations.

Parameters
Name Description
request ListConversationsRequest
responseObserver io.grpc.stub.StreamObserver<ListConversationsResponse>

listIssueModels(ListIssueModelsRequest request, StreamObserver<ListIssueModelsResponse> responseObserver)

public void listIssueModels(ListIssueModelsRequest request, StreamObserver<ListIssueModelsResponse> responseObserver)

Lists issue models.

Parameters
Name Description
request ListIssueModelsRequest
responseObserver io.grpc.stub.StreamObserver<ListIssueModelsResponse>

listIssues(ListIssuesRequest request, StreamObserver<ListIssuesResponse> responseObserver)

public void listIssues(ListIssuesRequest request, StreamObserver<ListIssuesResponse> responseObserver)

Lists issues.

Parameters
Name Description
request ListIssuesRequest
responseObserver io.grpc.stub.StreamObserver<ListIssuesResponse>

listPhraseMatchers(ListPhraseMatchersRequest request, StreamObserver<ListPhraseMatchersResponse> responseObserver)

public void listPhraseMatchers(ListPhraseMatchersRequest request, StreamObserver<ListPhraseMatchersResponse> responseObserver)

Lists phrase matchers.

Parameters
Name Description
request ListPhraseMatchersRequest
responseObserver io.grpc.stub.StreamObserver<ListPhraseMatchersResponse>

listViews(ListViewsRequest request, StreamObserver<ListViewsResponse> responseObserver)

public void listViews(ListViewsRequest request, StreamObserver<ListViewsResponse> responseObserver)

Lists views.

Parameters
Name Description
request ListViewsRequest
responseObserver io.grpc.stub.StreamObserver<ListViewsResponse>

undeployIssueModel(UndeployIssueModelRequest request, StreamObserver<Operation> responseObserver)

public void undeployIssueModel(UndeployIssueModelRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request UndeployIssueModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateConversation(UpdateConversationRequest request, StreamObserver<Conversation> responseObserver)

public void updateConversation(UpdateConversationRequest request, StreamObserver<Conversation> responseObserver)

Updates a conversation.

Parameters
Name Description
request UpdateConversationRequest
responseObserver io.grpc.stub.StreamObserver<Conversation>

updateIssue(UpdateIssueRequest request, StreamObserver<Issue> responseObserver)

public void updateIssue(UpdateIssueRequest request, StreamObserver<Issue> responseObserver)

Updates an issue.

Parameters
Name Description
request UpdateIssueRequest
responseObserver io.grpc.stub.StreamObserver<Issue>

updateIssueModel(UpdateIssueModelRequest request, StreamObserver<IssueModel> responseObserver)

public void updateIssueModel(UpdateIssueModelRequest request, StreamObserver<IssueModel> responseObserver)

Updates an issue model.

Parameters
Name Description
request UpdateIssueModelRequest
responseObserver io.grpc.stub.StreamObserver<IssueModel>

updatePhraseMatcher(UpdatePhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

public void updatePhraseMatcher(UpdatePhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

Updates a phrase matcher.

Parameters
Name Description
request UpdatePhraseMatcherRequest
responseObserver io.grpc.stub.StreamObserver<PhraseMatcher>

updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

public void updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

Updates project-level settings.

Parameters
Name Description
request UpdateSettingsRequest
responseObserver io.grpc.stub.StreamObserver<Settings>

updateView(UpdateViewRequest request, StreamObserver<View> responseObserver)

public void updateView(UpdateViewRequest request, StreamObserver<View> responseObserver)

Updates a view.

Parameters
Name Description
request UpdateViewRequest
responseObserver io.grpc.stub.StreamObserver<View>

uploadConversation(UploadConversationRequest request, StreamObserver<Operation> responseObserver)

public void uploadConversation(UploadConversationRequest request, StreamObserver<Operation> responseObserver)

Create a longrunning conversation upload operation. This method differs from CreateConversation by allowing audio transcription and optional DLP redaction.

Parameters
Name Description
request UploadConversationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>