Class ContactCenterInsightsSettings (2.22.0)

public class ContactCenterInsightsSettings extends ClientSettings<ContactCenterInsightsSettings>

Settings class to configure an instance of ContactCenterInsightsClient.

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 total timeout of createConversation to 30 seconds:


 // 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
 ContactCenterInsightsSettings.Builder contactCenterInsightsSettingsBuilder =
     ContactCenterInsightsSettings.newBuilder();
 contactCenterInsightsSettingsBuilder
     .createConversationSettings()
     .setRetrySettings(
         contactCenterInsightsSettingsBuilder
             .createConversationSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ContactCenterInsightsSettings contactCenterInsightsSettings =
     contactCenterInsightsSettingsBuilder.build();
 

Inheritance

java.lang.Object > ClientSettings > ContactCenterInsightsSettings

Static Methods

create(ContactCenterInsightsStubSettings stub)

public static final ContactCenterInsightsSettings create(ContactCenterInsightsStubSettings stub)
Parameter
NameDescription
stubContactCenterInsightsStubSettings
Returns
TypeDescription
ContactCenterInsightsSettings
Exceptions
TypeDescription
IOException

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

Returns a builder for the default gRPC ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultHttpJsonTransportProviderBuilder()

public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()

Returns a builder for the default REST ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static ContactCenterInsightsSettings.Builder newBuilder()

Returns a new gRPC builder for this class.

Returns
TypeDescription
ContactCenterInsightsSettings.Builder

newBuilder(ClientContext clientContext)

public static ContactCenterInsightsSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
ContactCenterInsightsSettings.Builder

newHttpJsonBuilder()

public static ContactCenterInsightsSettings.Builder newHttpJsonBuilder()

Returns a new REST builder for this class.

Returns
TypeDescription
ContactCenterInsightsSettings.Builder

Constructors

ContactCenterInsightsSettings(ContactCenterInsightsSettings.Builder settingsBuilder)

protected ContactCenterInsightsSettings(ContactCenterInsightsSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderContactCenterInsightsSettings.Builder

Methods

bulkAnalyzeConversationsOperationSettings()

public OperationCallSettings<BulkAnalyzeConversationsRequest,BulkAnalyzeConversationsResponse,BulkAnalyzeConversationsMetadata> bulkAnalyzeConversationsOperationSettings()

Returns the object with the settings used for calls to bulkAnalyzeConversations.

Returns
TypeDescription
OperationCallSettings<BulkAnalyzeConversationsRequest,BulkAnalyzeConversationsResponse,BulkAnalyzeConversationsMetadata>

bulkAnalyzeConversationsSettings()

public UnaryCallSettings<BulkAnalyzeConversationsRequest,Operation> bulkAnalyzeConversationsSettings()

Returns the object with the settings used for calls to bulkAnalyzeConversations.

Returns
TypeDescription
UnaryCallSettings<BulkAnalyzeConversationsRequest,Operation>

calculateIssueModelStatsSettings()

public UnaryCallSettings<CalculateIssueModelStatsRequest,CalculateIssueModelStatsResponse> calculateIssueModelStatsSettings()

Returns the object with the settings used for calls to calculateIssueModelStats.

Returns
TypeDescription
UnaryCallSettings<CalculateIssueModelStatsRequest,CalculateIssueModelStatsResponse>

calculateStatsSettings()

public UnaryCallSettings<CalculateStatsRequest,CalculateStatsResponse> calculateStatsSettings()

Returns the object with the settings used for calls to calculateStats.

Returns
TypeDescription
UnaryCallSettings<CalculateStatsRequest,CalculateStatsResponse>

createAnalysisOperationSettings()

public OperationCallSettings<CreateAnalysisRequest,Analysis,CreateAnalysisOperationMetadata> createAnalysisOperationSettings()

Returns the object with the settings used for calls to createAnalysis.

Returns
TypeDescription
OperationCallSettings<CreateAnalysisRequest,Analysis,CreateAnalysisOperationMetadata>

createAnalysisSettings()

public UnaryCallSettings<CreateAnalysisRequest,Operation> createAnalysisSettings()

Returns the object with the settings used for calls to createAnalysis.

Returns
TypeDescription
UnaryCallSettings<CreateAnalysisRequest,Operation>

createConversationSettings()

public UnaryCallSettings<CreateConversationRequest,Conversation> createConversationSettings()

Returns the object with the settings used for calls to createConversation.

Returns
TypeDescription
UnaryCallSettings<CreateConversationRequest,Conversation>

createIssueModelOperationSettings()

public OperationCallSettings<CreateIssueModelRequest,IssueModel,CreateIssueModelMetadata> createIssueModelOperationSettings()

Returns the object with the settings used for calls to createIssueModel.

Returns
TypeDescription
OperationCallSettings<CreateIssueModelRequest,IssueModel,CreateIssueModelMetadata>

createIssueModelSettings()

public UnaryCallSettings<CreateIssueModelRequest,Operation> createIssueModelSettings()

Returns the object with the settings used for calls to createIssueModel.

Returns
TypeDescription
UnaryCallSettings<CreateIssueModelRequest,Operation>

createPhraseMatcherSettings()

public UnaryCallSettings<CreatePhraseMatcherRequest,PhraseMatcher> createPhraseMatcherSettings()

Returns the object with the settings used for calls to createPhraseMatcher.

Returns
TypeDescription
UnaryCallSettings<CreatePhraseMatcherRequest,PhraseMatcher>

createViewSettings()

public UnaryCallSettings<CreateViewRequest,View> createViewSettings()

Returns the object with the settings used for calls to createView.

Returns
TypeDescription
UnaryCallSettings<CreateViewRequest,View>

deleteAnalysisSettings()

public UnaryCallSettings<DeleteAnalysisRequest,Empty> deleteAnalysisSettings()

Returns the object with the settings used for calls to deleteAnalysis.

Returns
TypeDescription
UnaryCallSettings<DeleteAnalysisRequest,Empty>

deleteConversationSettings()

public UnaryCallSettings<DeleteConversationRequest,Empty> deleteConversationSettings()

Returns the object with the settings used for calls to deleteConversation.

Returns
TypeDescription
UnaryCallSettings<DeleteConversationRequest,Empty>

deleteIssueModelOperationSettings()

public OperationCallSettings<DeleteIssueModelRequest,Empty,DeleteIssueModelMetadata> deleteIssueModelOperationSettings()

Returns the object with the settings used for calls to deleteIssueModel.

Returns
TypeDescription
OperationCallSettings<DeleteIssueModelRequest,Empty,DeleteIssueModelMetadata>

deleteIssueModelSettings()

public UnaryCallSettings<DeleteIssueModelRequest,Operation> deleteIssueModelSettings()

Returns the object with the settings used for calls to deleteIssueModel.

Returns
TypeDescription
UnaryCallSettings<DeleteIssueModelRequest,Operation>

deleteIssueSettings()

public UnaryCallSettings<DeleteIssueRequest,Empty> deleteIssueSettings()

Returns the object with the settings used for calls to deleteIssue.

Returns
TypeDescription
UnaryCallSettings<DeleteIssueRequest,Empty>

deletePhraseMatcherSettings()

public UnaryCallSettings<DeletePhraseMatcherRequest,Empty> deletePhraseMatcherSettings()

Returns the object with the settings used for calls to deletePhraseMatcher.

Returns
TypeDescription
UnaryCallSettings<DeletePhraseMatcherRequest,Empty>

deleteViewSettings()

public UnaryCallSettings<DeleteViewRequest,Empty> deleteViewSettings()

Returns the object with the settings used for calls to deleteView.

Returns
TypeDescription
UnaryCallSettings<DeleteViewRequest,Empty>

deployIssueModelOperationSettings()

public OperationCallSettings<DeployIssueModelRequest,DeployIssueModelResponse,DeployIssueModelMetadata> deployIssueModelOperationSettings()

Returns the object with the settings used for calls to deployIssueModel.

Returns
TypeDescription
OperationCallSettings<DeployIssueModelRequest,DeployIssueModelResponse,DeployIssueModelMetadata>

deployIssueModelSettings()

public UnaryCallSettings<DeployIssueModelRequest,Operation> deployIssueModelSettings()

Returns the object with the settings used for calls to deployIssueModel.

Returns
TypeDescription
UnaryCallSettings<DeployIssueModelRequest,Operation>

exportInsightsDataOperationSettings()

public OperationCallSettings<ExportInsightsDataRequest,ExportInsightsDataResponse,ExportInsightsDataMetadata> exportInsightsDataOperationSettings()

Returns the object with the settings used for calls to exportInsightsData.

Returns
TypeDescription
OperationCallSettings<ExportInsightsDataRequest,ExportInsightsDataResponse,ExportInsightsDataMetadata>

exportInsightsDataSettings()

public UnaryCallSettings<ExportInsightsDataRequest,Operation> exportInsightsDataSettings()

Returns the object with the settings used for calls to exportInsightsData.

Returns
TypeDescription
UnaryCallSettings<ExportInsightsDataRequest,Operation>

getAnalysisSettings()

public UnaryCallSettings<GetAnalysisRequest,Analysis> getAnalysisSettings()

Returns the object with the settings used for calls to getAnalysis.

Returns
TypeDescription
UnaryCallSettings<GetAnalysisRequest,Analysis>

getConversationSettings()

public UnaryCallSettings<GetConversationRequest,Conversation> getConversationSettings()

Returns the object with the settings used for calls to getConversation.

Returns
TypeDescription
UnaryCallSettings<GetConversationRequest,Conversation>

getIssueModelSettings()

public UnaryCallSettings<GetIssueModelRequest,IssueModel> getIssueModelSettings()

Returns the object with the settings used for calls to getIssueModel.

Returns
TypeDescription
UnaryCallSettings<GetIssueModelRequest,IssueModel>

getIssueSettings()

public UnaryCallSettings<GetIssueRequest,Issue> getIssueSettings()

Returns the object with the settings used for calls to getIssue.

Returns
TypeDescription
UnaryCallSettings<GetIssueRequest,Issue>

getPhraseMatcherSettings()

public UnaryCallSettings<GetPhraseMatcherRequest,PhraseMatcher> getPhraseMatcherSettings()

Returns the object with the settings used for calls to getPhraseMatcher.

Returns
TypeDescription
UnaryCallSettings<GetPhraseMatcherRequest,PhraseMatcher>

getSettingsSettings()

public UnaryCallSettings<GetSettingsRequest,Settings> getSettingsSettings()

Returns the object with the settings used for calls to getSettings.

Returns
TypeDescription
UnaryCallSettings<GetSettingsRequest,Settings>

getViewSettings()

public UnaryCallSettings<GetViewRequest,View> getViewSettings()

Returns the object with the settings used for calls to getView.

Returns
TypeDescription
UnaryCallSettings<GetViewRequest,View>

ingestConversationsOperationSettings()

public OperationCallSettings<IngestConversationsRequest,IngestConversationsResponse,IngestConversationsMetadata> ingestConversationsOperationSettings()

Returns the object with the settings used for calls to ingestConversations.

Returns
TypeDescription
OperationCallSettings<IngestConversationsRequest,IngestConversationsResponse,IngestConversationsMetadata>

ingestConversationsSettings()

public UnaryCallSettings<IngestConversationsRequest,Operation> ingestConversationsSettings()

Returns the object with the settings used for calls to ingestConversations.

Returns
TypeDescription
UnaryCallSettings<IngestConversationsRequest,Operation>

listAnalysesSettings()

public PagedCallSettings<ListAnalysesRequest,ListAnalysesResponse,ContactCenterInsightsClient.ListAnalysesPagedResponse> listAnalysesSettings()

Returns the object with the settings used for calls to listAnalyses.

Returns
TypeDescription
PagedCallSettings<ListAnalysesRequest,ListAnalysesResponse,ListAnalysesPagedResponse>

listConversationsSettings()

public PagedCallSettings<ListConversationsRequest,ListConversationsResponse,ContactCenterInsightsClient.ListConversationsPagedResponse> listConversationsSettings()

Returns the object with the settings used for calls to listConversations.

Returns
TypeDescription
PagedCallSettings<ListConversationsRequest,ListConversationsResponse,ListConversationsPagedResponse>

listIssueModelsSettings()

public UnaryCallSettings<ListIssueModelsRequest,ListIssueModelsResponse> listIssueModelsSettings()

Returns the object with the settings used for calls to listIssueModels.

Returns
TypeDescription
UnaryCallSettings<ListIssueModelsRequest,ListIssueModelsResponse>

listIssuesSettings()

public UnaryCallSettings<ListIssuesRequest,ListIssuesResponse> listIssuesSettings()

Returns the object with the settings used for calls to listIssues.

Returns
TypeDescription
UnaryCallSettings<ListIssuesRequest,ListIssuesResponse>

listPhraseMatchersSettings()

public PagedCallSettings<ListPhraseMatchersRequest,ListPhraseMatchersResponse,ContactCenterInsightsClient.ListPhraseMatchersPagedResponse> listPhraseMatchersSettings()

Returns the object with the settings used for calls to listPhraseMatchers.

Returns
TypeDescription
PagedCallSettings<ListPhraseMatchersRequest,ListPhraseMatchersResponse,ListPhraseMatchersPagedResponse>

listViewsSettings()

public PagedCallSettings<ListViewsRequest,ListViewsResponse,ContactCenterInsightsClient.ListViewsPagedResponse> listViewsSettings()

Returns the object with the settings used for calls to listViews.

Returns
TypeDescription
PagedCallSettings<ListViewsRequest,ListViewsResponse,ListViewsPagedResponse>

toBuilder()

public ContactCenterInsightsSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
TypeDescription
ContactCenterInsightsSettings.Builder
Overrides

undeployIssueModelOperationSettings()

public OperationCallSettings<UndeployIssueModelRequest,UndeployIssueModelResponse,UndeployIssueModelMetadata> undeployIssueModelOperationSettings()

Returns the object with the settings used for calls to undeployIssueModel.

Returns
TypeDescription
OperationCallSettings<UndeployIssueModelRequest,UndeployIssueModelResponse,UndeployIssueModelMetadata>

undeployIssueModelSettings()

public UnaryCallSettings<UndeployIssueModelRequest,Operation> undeployIssueModelSettings()

Returns the object with the settings used for calls to undeployIssueModel.

Returns
TypeDescription
UnaryCallSettings<UndeployIssueModelRequest,Operation>

updateConversationSettings()

public UnaryCallSettings<UpdateConversationRequest,Conversation> updateConversationSettings()

Returns the object with the settings used for calls to updateConversation.

Returns
TypeDescription
UnaryCallSettings<UpdateConversationRequest,Conversation>

updateIssueModelSettings()

public UnaryCallSettings<UpdateIssueModelRequest,IssueModel> updateIssueModelSettings()

Returns the object with the settings used for calls to updateIssueModel.

Returns
TypeDescription
UnaryCallSettings<UpdateIssueModelRequest,IssueModel>

updateIssueSettings()

public UnaryCallSettings<UpdateIssueRequest,Issue> updateIssueSettings()

Returns the object with the settings used for calls to updateIssue.

Returns
TypeDescription
UnaryCallSettings<UpdateIssueRequest,Issue>

updatePhraseMatcherSettings()

public UnaryCallSettings<UpdatePhraseMatcherRequest,PhraseMatcher> updatePhraseMatcherSettings()

Returns the object with the settings used for calls to updatePhraseMatcher.

Returns
TypeDescription
UnaryCallSettings<UpdatePhraseMatcherRequest,PhraseMatcher>

updateSettingsSettings()

public UnaryCallSettings<UpdateSettingsRequest,Settings> updateSettingsSettings()

Returns the object with the settings used for calls to updateSettings.

Returns
TypeDescription
UnaryCallSettings<UpdateSettingsRequest,Settings>

updateViewSettings()

public UnaryCallSettings<UpdateViewRequest,View> updateViewSettings()

Returns the object with the settings used for calls to updateView.

Returns
TypeDescription
UnaryCallSettings<UpdateViewRequest,View>

uploadConversationOperationSettings()

public OperationCallSettings<UploadConversationRequest,Conversation,UploadConversationMetadata> uploadConversationOperationSettings()

Returns the object with the settings used for calls to uploadConversation.

Returns
TypeDescription
OperationCallSettings<UploadConversationRequest,Conversation,UploadConversationMetadata>

uploadConversationSettings()

public UnaryCallSettings<UploadConversationRequest,Operation> uploadConversationSettings()

Returns the object with the settings used for calls to uploadConversation.

Returns
TypeDescription
UnaryCallSettings<UploadConversationRequest,Operation>