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();
Static Methods
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Returns
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Returns
public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
Returns
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
Returns
public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
Returns
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
Returns
public static TransportChannelProvider defaultTransportChannelProvider()
Returns
public static String getDefaultEndpoint()
Returns the default service endpoint.
Returns
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
Returns
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Returns
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
Returns
public static ContactCenterInsightsStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
Returns
Constructors
protected ContactCenterInsightsStubSettings(ContactCenterInsightsStubSettings.Builder settingsBuilder)
Parameter
Methods
public UnaryCallSettings<CalculateIssueModelStatsRequest,CalculateIssueModelStatsResponse> calculateIssueModelStatsSettings()
Returns the object with the settings used for calls to calculateIssueModelStats.
Returns
public UnaryCallSettings<CalculateStatsRequest,CalculateStatsResponse> calculateStatsSettings()
Returns the object with the settings used for calls to calculateStats.
Returns
public OperationCallSettings<CreateAnalysisRequest,Analysis,CreateAnalysisOperationMetadata> createAnalysisOperationSettings()
Returns the object with the settings used for calls to createAnalysis.
Returns
public UnaryCallSettings<CreateAnalysisRequest,Operation> createAnalysisSettings()
Returns the object with the settings used for calls to createAnalysis.
Returns
public UnaryCallSettings<CreateConversationRequest,Conversation> createConversationSettings()
Returns the object with the settings used for calls to createConversation.
Returns
public OperationCallSettings<CreateIssueModelRequest,IssueModel,CreateIssueModelMetadata> createIssueModelOperationSettings()
Returns the object with the settings used for calls to createIssueModel.
Returns
public UnaryCallSettings<CreateIssueModelRequest,Operation> createIssueModelSettings()
Returns the object with the settings used for calls to createIssueModel.
Returns
public UnaryCallSettings<CreatePhraseMatcherRequest,PhraseMatcher> createPhraseMatcherSettings()
Returns the object with the settings used for calls to createPhraseMatcher.
Returns
public ContactCenterInsightsStub createStub()
Returns
Exceptions
public UnaryCallSettings<CreateViewRequest,View> createViewSettings()
Returns the object with the settings used for calls to createView.
Returns
public UnaryCallSettings<DeleteAnalysisRequest,Empty> deleteAnalysisSettings()
Returns the object with the settings used for calls to deleteAnalysis.
Returns
public UnaryCallSettings<DeleteConversationRequest,Empty> deleteConversationSettings()
Returns the object with the settings used for calls to deleteConversation.
Returns
public OperationCallSettings<DeleteIssueModelRequest,Empty,DeleteIssueModelMetadata> deleteIssueModelOperationSettings()
Returns the object with the settings used for calls to deleteIssueModel.
Returns
public UnaryCallSettings<DeleteIssueModelRequest,Operation> deleteIssueModelSettings()
Returns the object with the settings used for calls to deleteIssueModel.
Returns
public UnaryCallSettings<DeletePhraseMatcherRequest,Empty> deletePhraseMatcherSettings()
Returns the object with the settings used for calls to deletePhraseMatcher.
Returns
public UnaryCallSettings<DeleteViewRequest,Empty> deleteViewSettings()
Returns the object with the settings used for calls to deleteView.
Returns
public OperationCallSettings<DeployIssueModelRequest,DeployIssueModelResponse,DeployIssueModelMetadata> deployIssueModelOperationSettings()
Returns the object with the settings used for calls to deployIssueModel.
Returns
public UnaryCallSettings<DeployIssueModelRequest,Operation> deployIssueModelSettings()
Returns the object with the settings used for calls to deployIssueModel.
Returns
public OperationCallSettings<ExportInsightsDataRequest,ExportInsightsDataResponse,ExportInsightsDataMetadata> exportInsightsDataOperationSettings()
Returns the object with the settings used for calls to exportInsightsData.
Returns
public UnaryCallSettings<ExportInsightsDataRequest,Operation> exportInsightsDataSettings()
Returns the object with the settings used for calls to exportInsightsData.
Returns
public UnaryCallSettings<GetAnalysisRequest,Analysis> getAnalysisSettings()
Returns the object with the settings used for calls to getAnalysis.
Returns
public UnaryCallSettings<GetConversationRequest,Conversation> getConversationSettings()
Returns the object with the settings used for calls to getConversation.
Returns
public UnaryCallSettings<GetIssueModelRequest,IssueModel> getIssueModelSettings()
Returns the object with the settings used for calls to getIssueModel.
Returns
public UnaryCallSettings<GetIssueRequest,Issue> getIssueSettings()
Returns the object with the settings used for calls to getIssue.
Returns
public UnaryCallSettings<GetPhraseMatcherRequest,PhraseMatcher> getPhraseMatcherSettings()
Returns the object with the settings used for calls to getPhraseMatcher.
Returns
public UnaryCallSettings<GetSettingsRequest,Settings> getSettingsSettings()
Returns the object with the settings used for calls to getSettings.
Returns
public UnaryCallSettings<GetViewRequest,View> getViewSettings()
Returns the object with the settings used for calls to getView.
Returns
public PagedCallSettings<ListAnalysesRequest,ListAnalysesResponse,ContactCenterInsightsClient.ListAnalysesPagedResponse> listAnalysesSettings()
Returns the object with the settings used for calls to listAnalyses.
Returns
public PagedCallSettings<ListConversationsRequest,ListConversationsResponse,ContactCenterInsightsClient.ListConversationsPagedResponse> listConversationsSettings()
Returns the object with the settings used for calls to listConversations.
Returns
public UnaryCallSettings<ListIssueModelsRequest,ListIssueModelsResponse> listIssueModelsSettings()
Returns the object with the settings used for calls to listIssueModels.
Returns
public UnaryCallSettings<ListIssuesRequest,ListIssuesResponse> listIssuesSettings()
Returns the object with the settings used for calls to listIssues.
Returns
public PagedCallSettings<ListPhraseMatchersRequest,ListPhraseMatchersResponse,ContactCenterInsightsClient.ListPhraseMatchersPagedResponse> listPhraseMatchersSettings()
Returns the object with the settings used for calls to listPhraseMatchers.
Returns
public PagedCallSettings<ListViewsRequest,ListViewsResponse,ContactCenterInsightsClient.ListViewsPagedResponse> listViewsSettings()
Returns the object with the settings used for calls to listViews.
Returns
public ContactCenterInsightsStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Returns
Overrides
public OperationCallSettings<UndeployIssueModelRequest,UndeployIssueModelResponse,UndeployIssueModelMetadata> undeployIssueModelOperationSettings()
Returns the object with the settings used for calls to undeployIssueModel.
Returns
public UnaryCallSettings<UndeployIssueModelRequest,Operation> undeployIssueModelSettings()
Returns the object with the settings used for calls to undeployIssueModel.
Returns
public UnaryCallSettings<UpdateConversationRequest,Conversation> updateConversationSettings()
Returns the object with the settings used for calls to updateConversation.
Returns
public UnaryCallSettings<UpdateIssueModelRequest,IssueModel> updateIssueModelSettings()
Returns the object with the settings used for calls to updateIssueModel.
Returns
public UnaryCallSettings<UpdateIssueRequest,Issue> updateIssueSettings()
Returns the object with the settings used for calls to updateIssue.
Returns
public UnaryCallSettings<UpdatePhraseMatcherRequest,PhraseMatcher> updatePhraseMatcherSettings()
Returns the object with the settings used for calls to updatePhraseMatcher.
Returns
public UnaryCallSettings<UpdateSettingsRequest,Settings> updateSettingsSettings()
Returns the object with the settings used for calls to updateSettings.
Returns
public UnaryCallSettings<UpdateViewRequest,View> updateViewSettings()
Returns the object with the settings used for calls to updateView.
Returns