Class ContactCenterInsightsStubSettings (2.8.0)

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

Inheritance

java.lang.Object > StubSettings > ContactCenterInsightsStubSettings

Static Methods

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

defaultGrpcApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

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

Returns
TypeDescription
Builder

defaultHttpJsonApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
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

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultMtlsEndpoint()

public static String getDefaultMtlsEndpoint()

Returns the default mTLS service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static ContactCenterInsightsStubSettings.Builder newBuilder()

Returns a new gRPC builder for this class.

Returns

newBuilder(ClientContext clientContext)

public static ContactCenterInsightsStubSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns

newHttpJsonBuilder()

public static ContactCenterInsightsStubSettings.Builder newHttpJsonBuilder()

Returns a new REST builder for this class.

Returns

Constructors

ContactCenterInsightsStubSettings(ContactCenterInsightsStubSettings.Builder settingsBuilder)

protected ContactCenterInsightsStubSettings(ContactCenterInsightsStubSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderContactCenterInsightsStubSettings.Builder

Methods

bulkAnalyzeConversationsOperationSettings()

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

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

Returns

bulkAnalyzeConversationsSettings()

public UnaryCallSettings<BulkAnalyzeConversationsRequest,Operation> bulkAnalyzeConversationsSettings()

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

Returns

calculateIssueModelStatsSettings()

public UnaryCallSettings<CalculateIssueModelStatsRequest,CalculateIssueModelStatsResponse> calculateIssueModelStatsSettings()

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

Returns

calculateStatsSettings()

public UnaryCallSettings<CalculateStatsRequest,CalculateStatsResponse> calculateStatsSettings()

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

Returns

createAnalysisOperationSettings()

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

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

Returns

createAnalysisSettings()

public UnaryCallSettings<CreateAnalysisRequest,Operation> createAnalysisSettings()

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

Returns

createConversationSettings()

public UnaryCallSettings<CreateConversationRequest,Conversation> createConversationSettings()

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

Returns

createIssueModelOperationSettings()

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

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

Returns

createIssueModelSettings()

public UnaryCallSettings<CreateIssueModelRequest,Operation> createIssueModelSettings()

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

Returns

createPhraseMatcherSettings()

public UnaryCallSettings<CreatePhraseMatcherRequest,PhraseMatcher> createPhraseMatcherSettings()

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

Returns

createStub()

public ContactCenterInsightsStub createStub()
Returns Exceptions
TypeDescription
IOException

createViewSettings()

public UnaryCallSettings<CreateViewRequest,View> createViewSettings()

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

Returns

deleteAnalysisSettings()

public UnaryCallSettings<DeleteAnalysisRequest,Empty> deleteAnalysisSettings()

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

Returns

deleteConversationSettings()

public UnaryCallSettings<DeleteConversationRequest,Empty> deleteConversationSettings()

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

Returns

deleteIssueModelOperationSettings()

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

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

Returns

deleteIssueModelSettings()

public UnaryCallSettings<DeleteIssueModelRequest,Operation> deleteIssueModelSettings()

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

Returns

deleteIssueSettings()

public UnaryCallSettings<DeleteIssueRequest,Empty> deleteIssueSettings()

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

Returns

deletePhraseMatcherSettings()

public UnaryCallSettings<DeletePhraseMatcherRequest,Empty> deletePhraseMatcherSettings()

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

Returns

deleteViewSettings()

public UnaryCallSettings<DeleteViewRequest,Empty> deleteViewSettings()

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

Returns

deployIssueModelOperationSettings()

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

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

Returns

deployIssueModelSettings()

public UnaryCallSettings<DeployIssueModelRequest,Operation> deployIssueModelSettings()

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

Returns

exportInsightsDataOperationSettings()

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

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

Returns

exportInsightsDataSettings()

public UnaryCallSettings<ExportInsightsDataRequest,Operation> exportInsightsDataSettings()

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

Returns

getAnalysisSettings()

public UnaryCallSettings<GetAnalysisRequest,Analysis> getAnalysisSettings()

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

Returns

getConversationSettings()

public UnaryCallSettings<GetConversationRequest,Conversation> getConversationSettings()

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

Returns

getIssueModelSettings()

public UnaryCallSettings<GetIssueModelRequest,IssueModel> getIssueModelSettings()

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

Returns

getIssueSettings()

public UnaryCallSettings<GetIssueRequest,Issue> getIssueSettings()

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

Returns

getPhraseMatcherSettings()

public UnaryCallSettings<GetPhraseMatcherRequest,PhraseMatcher> getPhraseMatcherSettings()

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

Returns

getSettingsSettings()

public UnaryCallSettings<GetSettingsRequest,Settings> getSettingsSettings()

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

Returns

getViewSettings()

public UnaryCallSettings<GetViewRequest,View> getViewSettings()

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

Returns

ingestConversationsOperationSettings()

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

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

Returns

ingestConversationsSettings()

public UnaryCallSettings<IngestConversationsRequest,Operation> ingestConversationsSettings()

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

Returns

listAnalysesSettings()

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

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

Returns

listConversationsSettings()

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

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

Returns

listIssueModelsSettings()

public UnaryCallSettings<ListIssueModelsRequest,ListIssueModelsResponse> listIssueModelsSettings()

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

Returns

listIssuesSettings()

public UnaryCallSettings<ListIssuesRequest,ListIssuesResponse> listIssuesSettings()

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

Returns

listPhraseMatchersSettings()

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

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

Returns

listViewsSettings()

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

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

Returns

toBuilder()

public ContactCenterInsightsStubSettings.Builder toBuilder()

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

Returns Overrides

undeployIssueModelOperationSettings()

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

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

Returns

undeployIssueModelSettings()

public UnaryCallSettings<UndeployIssueModelRequest,Operation> undeployIssueModelSettings()

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

Returns

updateConversationSettings()

public UnaryCallSettings<UpdateConversationRequest,Conversation> updateConversationSettings()

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

Returns

updateIssueModelSettings()

public UnaryCallSettings<UpdateIssueModelRequest,IssueModel> updateIssueModelSettings()

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

Returns

updateIssueSettings()

public UnaryCallSettings<UpdateIssueRequest,Issue> updateIssueSettings()

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

Returns

updatePhraseMatcherSettings()

public UnaryCallSettings<UpdatePhraseMatcherRequest,PhraseMatcher> updatePhraseMatcherSettings()

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

Returns

updateSettingsSettings()

public UnaryCallSettings<UpdateSettingsRequest,Settings> updateSettingsSettings()

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

Returns

updateViewSettings()

public UnaryCallSettings<UpdateViewRequest,View> updateViewSettings()

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

Returns