Class HttpJsonContactCenterInsightsStub (2.20.0)

public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub

REST stub implementation for the ContactCenterInsights service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ContactCenterInsightsStub > HttpJsonContactCenterInsightsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonContactCenterInsightsStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonContactCenterInsightsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonContactCenterInsightsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonContactCenterInsightsStub
Exceptions
TypeDescription
IOException

create(ContactCenterInsightsStubSettings settings)

public static final HttpJsonContactCenterInsightsStub create(ContactCenterInsightsStubSettings settings)
Parameter
NameDescription
settingsContactCenterInsightsStubSettings
Returns
TypeDescription
HttpJsonContactCenterInsightsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonContactCenterInsightsStub(ContactCenterInsightsStubSettings settings, ClientContext clientContext)

protected HttpJsonContactCenterInsightsStub(ContactCenterInsightsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonContactCenterInsightsStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsContactCenterInsightsStubSettings
clientContextClientContext

HttpJsonContactCenterInsightsStub(ContactCenterInsightsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonContactCenterInsightsStub(ContactCenterInsightsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonContactCenterInsightsStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsContactCenterInsightsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

bulkAnalyzeConversationsCallable()

public UnaryCallable<BulkAnalyzeConversationsRequest,Operation> bulkAnalyzeConversationsCallable()
Overrides

bulkAnalyzeConversationsOperationCallable()

public OperationCallable<BulkAnalyzeConversationsRequest,BulkAnalyzeConversationsResponse,BulkAnalyzeConversationsMetadata> bulkAnalyzeConversationsOperationCallable()
Overrides

calculateIssueModelStatsCallable()

public UnaryCallable<CalculateIssueModelStatsRequest,CalculateIssueModelStatsResponse> calculateIssueModelStatsCallable()
Overrides

calculateStatsCallable()

public UnaryCallable<CalculateStatsRequest,CalculateStatsResponse> calculateStatsCallable()
Overrides

close()

public final void close()
Overrides

createAnalysisCallable()

public UnaryCallable<CreateAnalysisRequest,Operation> createAnalysisCallable()
Overrides

createAnalysisOperationCallable()

public OperationCallable<CreateAnalysisRequest,Analysis,CreateAnalysisOperationMetadata> createAnalysisOperationCallable()
Overrides

createConversationCallable()

public UnaryCallable<CreateConversationRequest,Conversation> createConversationCallable()
Overrides

createIssueModelCallable()

public UnaryCallable<CreateIssueModelRequest,Operation> createIssueModelCallable()
Overrides

createIssueModelOperationCallable()

public OperationCallable<CreateIssueModelRequest,IssueModel,CreateIssueModelMetadata> createIssueModelOperationCallable()
Overrides

createPhraseMatcherCallable()

public UnaryCallable<CreatePhraseMatcherRequest,PhraseMatcher> createPhraseMatcherCallable()
Overrides

createViewCallable()

public UnaryCallable<CreateViewRequest,View> createViewCallable()
Returns
TypeDescription
UnaryCallable<CreateViewRequest,View>
Overrides

deleteAnalysisCallable()

public UnaryCallable<DeleteAnalysisRequest,Empty> deleteAnalysisCallable()
Overrides

deleteConversationCallable()

public UnaryCallable<DeleteConversationRequest,Empty> deleteConversationCallable()
Overrides

deleteIssueCallable()

public UnaryCallable<DeleteIssueRequest,Empty> deleteIssueCallable()
Returns
TypeDescription
UnaryCallable<DeleteIssueRequest,Empty>
Overrides

deleteIssueModelCallable()

public UnaryCallable<DeleteIssueModelRequest,Operation> deleteIssueModelCallable()
Overrides

deleteIssueModelOperationCallable()

public OperationCallable<DeleteIssueModelRequest,Empty,DeleteIssueModelMetadata> deleteIssueModelOperationCallable()
Overrides

deletePhraseMatcherCallable()

public UnaryCallable<DeletePhraseMatcherRequest,Empty> deletePhraseMatcherCallable()
Overrides

deleteViewCallable()

public UnaryCallable<DeleteViewRequest,Empty> deleteViewCallable()
Returns
TypeDescription
UnaryCallable<DeleteViewRequest,Empty>
Overrides

deployIssueModelCallable()

public UnaryCallable<DeployIssueModelRequest,Operation> deployIssueModelCallable()
Overrides

deployIssueModelOperationCallable()

public OperationCallable<DeployIssueModelRequest,DeployIssueModelResponse,DeployIssueModelMetadata> deployIssueModelOperationCallable()
Overrides

exportInsightsDataCallable()

public UnaryCallable<ExportInsightsDataRequest,Operation> exportInsightsDataCallable()
Overrides

exportInsightsDataOperationCallable()

public OperationCallable<ExportInsightsDataRequest,ExportInsightsDataResponse,ExportInsightsDataMetadata> exportInsightsDataOperationCallable()
Overrides

getAnalysisCallable()

public UnaryCallable<GetAnalysisRequest,Analysis> getAnalysisCallable()
Overrides

getConversationCallable()

public UnaryCallable<GetConversationRequest,Conversation> getConversationCallable()
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getIssueCallable()

public UnaryCallable<GetIssueRequest,Issue> getIssueCallable()
Returns
TypeDescription
UnaryCallable<GetIssueRequest,Issue>
Overrides

getIssueModelCallable()

public UnaryCallable<GetIssueModelRequest,IssueModel> getIssueModelCallable()
Overrides

getPhraseMatcherCallable()

public UnaryCallable<GetPhraseMatcherRequest,PhraseMatcher> getPhraseMatcherCallable()
Overrides

getSettingsCallable()

public UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
Overrides

getViewCallable()

public UnaryCallable<GetViewRequest,View> getViewCallable()
Returns
TypeDescription
UnaryCallable<GetViewRequest,View>
Overrides

ingestConversationsCallable()

public UnaryCallable<IngestConversationsRequest,Operation> ingestConversationsCallable()
Overrides

ingestConversationsOperationCallable()

public OperationCallable<IngestConversationsRequest,IngestConversationsResponse,IngestConversationsMetadata> ingestConversationsOperationCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAnalysesCallable()

public UnaryCallable<ListAnalysesRequest,ListAnalysesResponse> listAnalysesCallable()
Overrides

listAnalysesPagedCallable()

public UnaryCallable<ListAnalysesRequest,ContactCenterInsightsClient.ListAnalysesPagedResponse> listAnalysesPagedCallable()
Overrides

listConversationsCallable()

public UnaryCallable<ListConversationsRequest,ListConversationsResponse> listConversationsCallable()
Overrides

listConversationsPagedCallable()

public UnaryCallable<ListConversationsRequest,ContactCenterInsightsClient.ListConversationsPagedResponse> listConversationsPagedCallable()
Overrides

listIssueModelsCallable()

public UnaryCallable<ListIssueModelsRequest,ListIssueModelsResponse> listIssueModelsCallable()
Overrides

listIssuesCallable()

public UnaryCallable<ListIssuesRequest,ListIssuesResponse> listIssuesCallable()
Overrides

listPhraseMatchersCallable()

public UnaryCallable<ListPhraseMatchersRequest,ListPhraseMatchersResponse> listPhraseMatchersCallable()
Overrides

listPhraseMatchersPagedCallable()

public UnaryCallable<ListPhraseMatchersRequest,ContactCenterInsightsClient.ListPhraseMatchersPagedResponse> listPhraseMatchersPagedCallable()
Overrides

listViewsCallable()

public UnaryCallable<ListViewsRequest,ListViewsResponse> listViewsCallable()
Overrides

listViewsPagedCallable()

public UnaryCallable<ListViewsRequest,ContactCenterInsightsClient.ListViewsPagedResponse> listViewsPagedCallable()
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

undeployIssueModelCallable()

public UnaryCallable<UndeployIssueModelRequest,Operation> undeployIssueModelCallable()
Overrides

undeployIssueModelOperationCallable()

public OperationCallable<UndeployIssueModelRequest,UndeployIssueModelResponse,UndeployIssueModelMetadata> undeployIssueModelOperationCallable()
Overrides

updateConversationCallable()

public UnaryCallable<UpdateConversationRequest,Conversation> updateConversationCallable()
Overrides

updateIssueCallable()

public UnaryCallable<UpdateIssueRequest,Issue> updateIssueCallable()
Returns
TypeDescription
UnaryCallable<UpdateIssueRequest,Issue>
Overrides

updateIssueModelCallable()

public UnaryCallable<UpdateIssueModelRequest,IssueModel> updateIssueModelCallable()
Overrides

updatePhraseMatcherCallable()

public UnaryCallable<UpdatePhraseMatcherRequest,PhraseMatcher> updatePhraseMatcherCallable()
Overrides

updateSettingsCallable()

public UnaryCallable<UpdateSettingsRequest,Settings> updateSettingsCallable()
Overrides

updateViewCallable()

public UnaryCallable<UpdateViewRequest,View> updateViewCallable()
Returns
TypeDescription
UnaryCallable<UpdateViewRequest,View>
Overrides

uploadConversationCallable()

public UnaryCallable<UploadConversationRequest,Operation> uploadConversationCallable()
Overrides

uploadConversationOperationCallable()

public OperationCallable<UploadConversationRequest,Conversation,UploadConversationMetadata> uploadConversationOperationCallable()
Overrides