- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public class ContactCenterInsightsStubSettings extends StubSettings<ContactCenterInsightsStubSettings>
Settings class to configure an instance of ContactCenterInsightsStub.
The default instance has everything set to sensible defaults:
- The default service address (contactcenterinsights.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the RetrySettings of createConversation:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ContactCenterInsightsStubSettings.Builder contactCenterInsightsSettingsBuilder =
ContactCenterInsightsStubSettings.newBuilder();
contactCenterInsightsSettingsBuilder
.createConversationSettings()
.setRetrySettings(
contactCenterInsightsSettingsBuilder
.createConversationSettings()
.getRetrySettings()
.toBuilder()
.setInitialRetryDelayDuration(Duration.ofSeconds(1))
.setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
.setMaxAttempts(5)
.setMaxRetryDelayDuration(Duration.ofSeconds(30))
.setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
.setRetryDelayMultiplier(1.3)
.setRpcTimeoutMultiplier(1.5)
.setTotalTimeoutDuration(Duration.ofSeconds(300))
.build());
ContactCenterInsightsStubSettings contactCenterInsightsSettings =
contactCenterInsightsSettingsBuilder.build();
Please refer to the Client Side Retry Guide for additional support in setting retries.
To configure the RetrySettings of a Long Running Operation method, create an OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to configure the RetrySettings for uploadConversation:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ContactCenterInsightsStubSettings.Builder contactCenterInsightsSettingsBuilder =
ContactCenterInsightsStubSettings.newBuilder();
TimedRetryAlgorithm timedRetryAlgorithm =
OperationalTimedPollAlgorithm.create(
RetrySettings.newBuilder()
.setInitialRetryDelayDuration(Duration.ofMillis(500))
.setRetryDelayMultiplier(1.5)
.setMaxRetryDelay(Duration.ofMillis(5000))
.setTotalTimeoutDuration(Duration.ofHours(24))
.build());
contactCenterInsightsSettingsBuilder
.createClusterOperationSettings()
.setPollingAlgorithm(timedRetryAlgorithm)
.build();
Static Methods
defaultApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns | |
---|---|
Type | Description |
Builder |
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Returns | |
---|---|
Type | Description |
Builder |
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Returns | |
---|---|
Type | Description |
Builder |
defaultGrpcApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
Returns | |
---|---|
Type | Description |
Builder |
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
Returns | |
---|---|
Type | Description |
Builder |
defaultHttpJsonApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
Returns | |
---|---|
Type | Description |
Builder |
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
Returns | |
---|---|
Type | Description |
Builder |
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Returns | |
---|---|
Type | Description |
TransportChannelProvider |
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Returns | |
---|---|
Type | Description |
String |
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
Returns | |
---|---|
Type | Description |
String |
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Returns | |
---|---|
Type | Description |
List<String> |
newBuilder()
public static ContactCenterInsightsStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
Returns | |
---|---|
Type | Description |
ContactCenterInsightsStubSettings.Builder |
newBuilder(ClientContext clientContext)
public static ContactCenterInsightsStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
ContactCenterInsightsStubSettings.Builder |
newHttpJsonBuilder()
public static ContactCenterInsightsStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
Returns | |
---|---|
Type | Description |
ContactCenterInsightsStubSettings.Builder |
Constructors
ContactCenterInsightsStubSettings(ContactCenterInsightsStubSettings.Builder settingsBuilder)
protected ContactCenterInsightsStubSettings(ContactCenterInsightsStubSettings.Builder settingsBuilder)
Parameter | |
---|---|
Name | Description |
settingsBuilder |
ContactCenterInsightsStubSettings.Builder |
Methods
bulkAnalyzeConversationsOperationSettings()
public OperationCallSettings<BulkAnalyzeConversationsRequest,BulkAnalyzeConversationsResponse,BulkAnalyzeConversationsMetadata> bulkAnalyzeConversationsOperationSettings()
Returns the object with the settings used for calls to bulkAnalyzeConversations.
Returns | |
---|---|
Type | Description |
OperationCallSettings<BulkAnalyzeConversationsRequest,BulkAnalyzeConversationsResponse,BulkAnalyzeConversationsMetadata> |
bulkAnalyzeConversationsSettings()
public UnaryCallSettings<BulkAnalyzeConversationsRequest,Operation> bulkAnalyzeConversationsSettings()
Returns the object with the settings used for calls to bulkAnalyzeConversations.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<BulkAnalyzeConversationsRequest,Operation> |
bulkDeleteConversationsOperationSettings()
public OperationCallSettings<BulkDeleteConversationsRequest,BulkDeleteConversationsResponse,BulkDeleteConversationsMetadata> bulkDeleteConversationsOperationSettings()
Returns the object with the settings used for calls to bulkDeleteConversations.
Returns | |
---|---|
Type | Description |
OperationCallSettings<BulkDeleteConversationsRequest,BulkDeleteConversationsResponse,BulkDeleteConversationsMetadata> |
bulkDeleteConversationsSettings()
public UnaryCallSettings<BulkDeleteConversationsRequest,Operation> bulkDeleteConversationsSettings()
Returns the object with the settings used for calls to bulkDeleteConversations.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<BulkDeleteConversationsRequest,Operation> |
calculateIssueModelStatsSettings()
public UnaryCallSettings<CalculateIssueModelStatsRequest,CalculateIssueModelStatsResponse> calculateIssueModelStatsSettings()
Returns the object with the settings used for calls to calculateIssueModelStats.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CalculateIssueModelStatsRequest,CalculateIssueModelStatsResponse> |
calculateStatsSettings()
public UnaryCallSettings<CalculateStatsRequest,CalculateStatsResponse> calculateStatsSettings()
Returns the object with the settings used for calls to calculateStats.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CalculateStatsRequest,CalculateStatsResponse> |
createAnalysisOperationSettings()
public OperationCallSettings<CreateAnalysisRequest,Analysis,CreateAnalysisOperationMetadata> createAnalysisOperationSettings()
Returns the object with the settings used for calls to createAnalysis.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateAnalysisRequest,Analysis,CreateAnalysisOperationMetadata> |
createAnalysisSettings()
public UnaryCallSettings<CreateAnalysisRequest,Operation> createAnalysisSettings()
Returns the object with the settings used for calls to createAnalysis.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateAnalysisRequest,Operation> |
createConversationSettings()
public UnaryCallSettings<CreateConversationRequest,Conversation> createConversationSettings()
Returns the object with the settings used for calls to createConversation.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateConversationRequest,Conversation> |
createIssueModelOperationSettings()
public OperationCallSettings<CreateIssueModelRequest,IssueModel,CreateIssueModelMetadata> createIssueModelOperationSettings()
Returns the object with the settings used for calls to createIssueModel.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateIssueModelRequest,IssueModel,CreateIssueModelMetadata> |
createIssueModelSettings()
public UnaryCallSettings<CreateIssueModelRequest,Operation> createIssueModelSettings()
Returns the object with the settings used for calls to createIssueModel.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateIssueModelRequest,Operation> |
createPhraseMatcherSettings()
public UnaryCallSettings<CreatePhraseMatcherRequest,PhraseMatcher> createPhraseMatcherSettings()
Returns the object with the settings used for calls to createPhraseMatcher.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreatePhraseMatcherRequest,PhraseMatcher> |
createStub()
public ContactCenterInsightsStub createStub()
Returns | |
---|---|
Type | Description |
ContactCenterInsightsStub |
Exceptions | |
---|---|
Type | Description |
IOException |
createViewSettings()
public UnaryCallSettings<CreateViewRequest,View> createViewSettings()
Returns the object with the settings used for calls to createView.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateViewRequest,View> |
deleteAnalysisSettings()
public UnaryCallSettings<DeleteAnalysisRequest,Empty> deleteAnalysisSettings()
Returns the object with the settings used for calls to deleteAnalysis.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteAnalysisRequest,Empty> |
deleteConversationSettings()
public UnaryCallSettings<DeleteConversationRequest,Empty> deleteConversationSettings()
Returns the object with the settings used for calls to deleteConversation.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteConversationRequest,Empty> |
deleteIssueModelOperationSettings()
public OperationCallSettings<DeleteIssueModelRequest,Empty,DeleteIssueModelMetadata> deleteIssueModelOperationSettings()
Returns the object with the settings used for calls to deleteIssueModel.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeleteIssueModelRequest,Empty,DeleteIssueModelMetadata> |
deleteIssueModelSettings()
public UnaryCallSettings<DeleteIssueModelRequest,Operation> deleteIssueModelSettings()
Returns the object with the settings used for calls to deleteIssueModel.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteIssueModelRequest,Operation> |
deleteIssueSettings()
public UnaryCallSettings<DeleteIssueRequest,Empty> deleteIssueSettings()
Returns the object with the settings used for calls to deleteIssue.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteIssueRequest,Empty> |
deletePhraseMatcherSettings()
public UnaryCallSettings<DeletePhraseMatcherRequest,Empty> deletePhraseMatcherSettings()
Returns the object with the settings used for calls to deletePhraseMatcher.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeletePhraseMatcherRequest,Empty> |
deleteViewSettings()
public UnaryCallSettings<DeleteViewRequest,Empty> deleteViewSettings()
Returns the object with the settings used for calls to deleteView.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteViewRequest,Empty> |
deployIssueModelOperationSettings()
public OperationCallSettings<DeployIssueModelRequest,DeployIssueModelResponse,DeployIssueModelMetadata> deployIssueModelOperationSettings()
Returns the object with the settings used for calls to deployIssueModel.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeployIssueModelRequest,DeployIssueModelResponse,DeployIssueModelMetadata> |
deployIssueModelSettings()
public UnaryCallSettings<DeployIssueModelRequest,Operation> deployIssueModelSettings()
Returns the object with the settings used for calls to deployIssueModel.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeployIssueModelRequest,Operation> |
exportInsightsDataOperationSettings()
public OperationCallSettings<ExportInsightsDataRequest,ExportInsightsDataResponse,ExportInsightsDataMetadata> exportInsightsDataOperationSettings()
Returns the object with the settings used for calls to exportInsightsData.
Returns | |
---|---|
Type | Description |
OperationCallSettings<ExportInsightsDataRequest,ExportInsightsDataResponse,ExportInsightsDataMetadata> |
exportInsightsDataSettings()
public UnaryCallSettings<ExportInsightsDataRequest,Operation> exportInsightsDataSettings()
Returns the object with the settings used for calls to exportInsightsData.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<ExportInsightsDataRequest,Operation> |
getAnalysisSettings()
public UnaryCallSettings<GetAnalysisRequest,Analysis> getAnalysisSettings()
Returns the object with the settings used for calls to getAnalysis.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetAnalysisRequest,Analysis> |
getConversationSettings()
public UnaryCallSettings<GetConversationRequest,Conversation> getConversationSettings()
Returns the object with the settings used for calls to getConversation.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetConversationRequest,Conversation> |
getIssueModelSettings()
public UnaryCallSettings<GetIssueModelRequest,IssueModel> getIssueModelSettings()
Returns the object with the settings used for calls to getIssueModel.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetIssueModelRequest,IssueModel> |
getIssueSettings()
public UnaryCallSettings<GetIssueRequest,Issue> getIssueSettings()
Returns the object with the settings used for calls to getIssue.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetIssueRequest,Issue> |
getPhraseMatcherSettings()
public UnaryCallSettings<GetPhraseMatcherRequest,PhraseMatcher> getPhraseMatcherSettings()
Returns the object with the settings used for calls to getPhraseMatcher.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetPhraseMatcherRequest,PhraseMatcher> |
getServiceName()
public String getServiceName()
Returns the default service name.
Returns | |
---|---|
Type | Description |
String |
getSettingsSettings()
public UnaryCallSettings<GetSettingsRequest,Settings> getSettingsSettings()
Returns the object with the settings used for calls to getSettings.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetSettingsRequest,Settings> |
getViewSettings()
public UnaryCallSettings<GetViewRequest,View> getViewSettings()
Returns the object with the settings used for calls to getView.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetViewRequest,View> |
ingestConversationsOperationSettings()
public OperationCallSettings<IngestConversationsRequest,IngestConversationsResponse,IngestConversationsMetadata> ingestConversationsOperationSettings()
Returns the object with the settings used for calls to ingestConversations.
Returns | |
---|---|
Type | Description |
OperationCallSettings<IngestConversationsRequest,IngestConversationsResponse,IngestConversationsMetadata> |
ingestConversationsSettings()
public UnaryCallSettings<IngestConversationsRequest,Operation> ingestConversationsSettings()
Returns the object with the settings used for calls to ingestConversations.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<IngestConversationsRequest,Operation> |
listAnalysesSettings()
public PagedCallSettings<ListAnalysesRequest,ListAnalysesResponse,ContactCenterInsightsClient.ListAnalysesPagedResponse> listAnalysesSettings()
Returns the object with the settings used for calls to listAnalyses.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListAnalysesRequest,ListAnalysesResponse,ListAnalysesPagedResponse> |
listConversationsSettings()
public PagedCallSettings<ListConversationsRequest,ListConversationsResponse,ContactCenterInsightsClient.ListConversationsPagedResponse> listConversationsSettings()
Returns the object with the settings used for calls to listConversations.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListConversationsRequest,ListConversationsResponse,ListConversationsPagedResponse> |
listIssueModelsSettings()
public UnaryCallSettings<ListIssueModelsRequest,ListIssueModelsResponse> listIssueModelsSettings()
Returns the object with the settings used for calls to listIssueModels.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<ListIssueModelsRequest,ListIssueModelsResponse> |
listIssuesSettings()
public UnaryCallSettings<ListIssuesRequest,ListIssuesResponse> listIssuesSettings()
Returns the object with the settings used for calls to listIssues.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<ListIssuesRequest,ListIssuesResponse> |
listPhraseMatchersSettings()
public PagedCallSettings<ListPhraseMatchersRequest,ListPhraseMatchersResponse,ContactCenterInsightsClient.ListPhraseMatchersPagedResponse> listPhraseMatchersSettings()
Returns the object with the settings used for calls to listPhraseMatchers.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListPhraseMatchersRequest,ListPhraseMatchersResponse,ListPhraseMatchersPagedResponse> |
listViewsSettings()
public PagedCallSettings<ListViewsRequest,ListViewsResponse,ContactCenterInsightsClient.ListViewsPagedResponse> listViewsSettings()
Returns the object with the settings used for calls to listViews.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListViewsRequest,ListViewsResponse,ListViewsPagedResponse> |
toBuilder()
public ContactCenterInsightsStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Returns | |
---|---|
Type | Description |
ContactCenterInsightsStubSettings.Builder |
undeployIssueModelOperationSettings()
public OperationCallSettings<UndeployIssueModelRequest,UndeployIssueModelResponse,UndeployIssueModelMetadata> undeployIssueModelOperationSettings()
Returns the object with the settings used for calls to undeployIssueModel.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UndeployIssueModelRequest,UndeployIssueModelResponse,UndeployIssueModelMetadata> |
undeployIssueModelSettings()
public UnaryCallSettings<UndeployIssueModelRequest,Operation> undeployIssueModelSettings()
Returns the object with the settings used for calls to undeployIssueModel.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UndeployIssueModelRequest,Operation> |
updateConversationSettings()
public UnaryCallSettings<UpdateConversationRequest,Conversation> updateConversationSettings()
Returns the object with the settings used for calls to updateConversation.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateConversationRequest,Conversation> |
updateIssueModelSettings()
public UnaryCallSettings<UpdateIssueModelRequest,IssueModel> updateIssueModelSettings()
Returns the object with the settings used for calls to updateIssueModel.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateIssueModelRequest,IssueModel> |
updateIssueSettings()
public UnaryCallSettings<UpdateIssueRequest,Issue> updateIssueSettings()
Returns the object with the settings used for calls to updateIssue.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateIssueRequest,Issue> |
updatePhraseMatcherSettings()
public UnaryCallSettings<UpdatePhraseMatcherRequest,PhraseMatcher> updatePhraseMatcherSettings()
Returns the object with the settings used for calls to updatePhraseMatcher.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdatePhraseMatcherRequest,PhraseMatcher> |
updateSettingsSettings()
public UnaryCallSettings<UpdateSettingsRequest,Settings> updateSettingsSettings()
Returns the object with the settings used for calls to updateSettings.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateSettingsRequest,Settings> |
updateViewSettings()
public UnaryCallSettings<UpdateViewRequest,View> updateViewSettings()
Returns the object with the settings used for calls to updateView.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateViewRequest,View> |
uploadConversationOperationSettings()
public OperationCallSettings<UploadConversationRequest,Conversation,UploadConversationMetadata> uploadConversationOperationSettings()
Returns the object with the settings used for calls to uploadConversation.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UploadConversationRequest,Conversation,UploadConversationMetadata> |
uploadConversationSettings()
public UnaryCallSettings<UploadConversationRequest,Operation> uploadConversationSettings()
Returns the object with the settings used for calls to uploadConversation.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UploadConversationRequest,Operation> |