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 ()
public static GoogleCredentialsProvider . Builder defaultCredentialsProviderBuilder ()
Returns a builder for the default credentials for this service.
public static InstantiatingExecutorProvider . Builder defaultExecutorProviderBuilder ()
Returns a builder for the default ExecutorProvider for this service.
public static ApiClientHeaderProvider . Builder defaultGrpcApiClientHeaderProviderBuilder ()
public static InstantiatingGrpcChannelProvider . Builder defaultGrpcTransportProviderBuilder ()
Returns a builder for the default gRPC ChannelProvider for this service.
public static ApiClientHeaderProvider . Builder defaultHttpJsonApiClientHeaderProviderBuilder ()
public static InstantiatingHttpJsonChannelProvider . Builder defaultHttpJsonTransportProviderBuilder ()
Beta
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns a builder for the default REST ChannelProvider for this service.
public static TransportChannelProvider defaultTransportChannelProvider ()
public static String getDefaultEndpoint ()
Obsolete
Use getEndpoint() instead
This feature is stable for usage in this major version, but may be deprecated in a future release.
Returns the default service endpoint.
Returns
Type
Description
String
public static String getDefaultMtlsEndpoint ()
Returns the default mTLS service endpoint.
Returns
Type
Description
String
public static List<String> getDefaultServiceScopes ()
Returns the default service scopes.
public static ContactCenterInsightsStubSettings . Builder newBuilder ()
Returns a new gRPC builder for this class.
newBuilder(ClientContext clientContext)
public static ContactCenterInsightsStubSettings . Builder newBuilder ( ClientContext clientContext )
Returns a new builder for this class.
public static ContactCenterInsightsStubSettings . Builder newHttpJsonBuilder ()
Returns a new REST builder for this class.
Constructors
protected ContactCenterInsightsStubSettings ( ContactCenterInsightsStubSettings . Builder settingsBuilder )
Methods
public OperationCallSettings<BulkAnalyzeConversationsRequest , BulkAnalyzeConversationsResponse , BulkAnalyzeConversationsMetadata > bulkAnalyzeConversationsOperationSettings ()
Returns the object with the settings used for calls to bulkAnalyzeConversations.
public UnaryCallSettings<BulkAnalyzeConversationsRequest , Operation > bulkAnalyzeConversationsSettings ()
Returns the object with the settings used for calls to bulkAnalyzeConversations.
public OperationCallSettings<BulkDeleteConversationsRequest , BulkDeleteConversationsResponse , BulkDeleteConversationsMetadata > bulkDeleteConversationsOperationSettings ()
Returns the object with the settings used for calls to bulkDeleteConversations.
public UnaryCallSettings<BulkDeleteConversationsRequest , Operation > bulkDeleteConversationsSettings ()
Returns the object with the settings used for calls to bulkDeleteConversations.
public UnaryCallSettings<CalculateIssueModelStatsRequest , CalculateIssueModelStatsResponse > calculateIssueModelStatsSettings ()
Returns the object with the settings used for calls to calculateIssueModelStats.
public UnaryCallSettings<CalculateStatsRequest , CalculateStatsResponse > calculateStatsSettings ()
Returns the object with the settings used for calls to calculateStats.
public OperationCallSettings<CreateAnalysisRequest , Analysis , CreateAnalysisOperationMetadata > createAnalysisOperationSettings ()
Returns the object with the settings used for calls to createAnalysis.
public UnaryCallSettings<CreateAnalysisRequest , Operation > createAnalysisSettings ()
Returns the object with the settings used for calls to createAnalysis.
public UnaryCallSettings<CreateConversationRequest , Conversation > createConversationSettings ()
Returns the object with the settings used for calls to createConversation.
public OperationCallSettings<CreateIssueModelRequest , IssueModel , CreateIssueModelMetadata > createIssueModelOperationSettings ()
Returns the object with the settings used for calls to createIssueModel.
public UnaryCallSettings<CreateIssueModelRequest , Operation > createIssueModelSettings ()
Returns the object with the settings used for calls to createIssueModel.
public UnaryCallSettings<CreatePhraseMatcherRequest , PhraseMatcher > createPhraseMatcherSettings ()
Returns the object with the settings used for calls to createPhraseMatcher.
public ContactCenterInsightsStub createStub ()
public UnaryCallSettings<CreateViewRequest , View > createViewSettings ()
Returns the object with the settings used for calls to createView.
public UnaryCallSettings<DeleteAnalysisRequest , Empty > deleteAnalysisSettings ()
Returns the object with the settings used for calls to deleteAnalysis.
public UnaryCallSettings<DeleteConversationRequest , Empty > deleteConversationSettings ()
Returns the object with the settings used for calls to deleteConversation.
public OperationCallSettings<DeleteIssueModelRequest , Empty , DeleteIssueModelMetadata > deleteIssueModelOperationSettings ()
Returns the object with the settings used for calls to deleteIssueModel.
public UnaryCallSettings<DeleteIssueModelRequest , Operation > deleteIssueModelSettings ()
Returns the object with the settings used for calls to deleteIssueModel.
public UnaryCallSettings<DeleteIssueRequest , Empty > deleteIssueSettings ()
Returns the object with the settings used for calls to deleteIssue.
public UnaryCallSettings<DeletePhraseMatcherRequest , Empty > deletePhraseMatcherSettings ()
Returns the object with the settings used for calls to deletePhraseMatcher.
public UnaryCallSettings<DeleteViewRequest , Empty > deleteViewSettings ()
Returns the object with the settings used for calls to deleteView.
public OperationCallSettings<DeployIssueModelRequest , DeployIssueModelResponse , DeployIssueModelMetadata > deployIssueModelOperationSettings ()
Returns the object with the settings used for calls to deployIssueModel.
public UnaryCallSettings<DeployIssueModelRequest , Operation > deployIssueModelSettings ()
Returns the object with the settings used for calls to deployIssueModel.
public OperationCallSettings<ExportInsightsDataRequest , ExportInsightsDataResponse , ExportInsightsDataMetadata > exportInsightsDataOperationSettings ()
Returns the object with the settings used for calls to exportInsightsData.
public UnaryCallSettings<ExportInsightsDataRequest , Operation > exportInsightsDataSettings ()
Returns the object with the settings used for calls to exportInsightsData.
public UnaryCallSettings<GetAnalysisRequest , Analysis > getAnalysisSettings ()
Returns the object with the settings used for calls to getAnalysis.
public UnaryCallSettings<GetConversationRequest , Conversation > getConversationSettings ()
Returns the object with the settings used for calls to getConversation.
public UnaryCallSettings<GetIssueModelRequest , IssueModel > getIssueModelSettings ()
Returns the object with the settings used for calls to getIssueModel.
public UnaryCallSettings<GetIssueRequest , Issue > getIssueSettings ()
Returns the object with the settings used for calls to getIssue.
public UnaryCallSettings<GetPhraseMatcherRequest , PhraseMatcher > getPhraseMatcherSettings ()
Returns the object with the settings used for calls to getPhraseMatcher.
public String getServiceName ()
Returns the default service name.
Returns
Type
Description
String
Overrides
public UnaryCallSettings<GetSettingsRequest , Settings > getSettingsSettings ()
Returns the object with the settings used for calls to getSettings.
public UnaryCallSettings<GetViewRequest , View > getViewSettings ()
Returns the object with the settings used for calls to getView.
public OperationCallSettings<IngestConversationsRequest , IngestConversationsResponse , IngestConversationsMetadata > ingestConversationsOperationSettings ()
Returns the object with the settings used for calls to ingestConversations.
public UnaryCallSettings<IngestConversationsRequest , Operation > ingestConversationsSettings ()
Returns the object with the settings used for calls to ingestConversations.
public PagedCallSettings<ListAnalysesRequest , ListAnalysesResponse , ContactCenterInsightsClient . ListAnalysesPagedResponse > listAnalysesSettings ()
Returns the object with the settings used for calls to listAnalyses.
public PagedCallSettings<ListConversationsRequest , ListConversationsResponse , ContactCenterInsightsClient . ListConversationsPagedResponse > listConversationsSettings ()
Returns the object with the settings used for calls to listConversations.
public UnaryCallSettings<ListIssueModelsRequest , ListIssueModelsResponse > listIssueModelsSettings ()
Returns the object with the settings used for calls to listIssueModels.
public UnaryCallSettings<ListIssuesRequest , ListIssuesResponse > listIssuesSettings ()
Returns the object with the settings used for calls to listIssues.
public PagedCallSettings<ListPhraseMatchersRequest , ListPhraseMatchersResponse , ContactCenterInsightsClient . ListPhraseMatchersPagedResponse > listPhraseMatchersSettings ()
Returns the object with the settings used for calls to listPhraseMatchers.
public PagedCallSettings<ListViewsRequest , ListViewsResponse , ContactCenterInsightsClient . ListViewsPagedResponse > listViewsSettings ()
Returns the object with the settings used for calls to listViews.
public ContactCenterInsightsStubSettings . Builder toBuilder ()
Returns a builder containing all the values of this settings class.
Overrides
public OperationCallSettings<UndeployIssueModelRequest , UndeployIssueModelResponse , UndeployIssueModelMetadata > undeployIssueModelOperationSettings ()
Returns the object with the settings used for calls to undeployIssueModel.
public UnaryCallSettings<UndeployIssueModelRequest , Operation > undeployIssueModelSettings ()
Returns the object with the settings used for calls to undeployIssueModel.
public UnaryCallSettings<UpdateConversationRequest , Conversation > updateConversationSettings ()
Returns the object with the settings used for calls to updateConversation.
public UnaryCallSettings<UpdateIssueModelRequest , IssueModel > updateIssueModelSettings ()
Returns the object with the settings used for calls to updateIssueModel.
public UnaryCallSettings<UpdateIssueRequest , Issue > updateIssueSettings ()
Returns the object with the settings used for calls to updateIssue.
public UnaryCallSettings<UpdatePhraseMatcherRequest , PhraseMatcher > updatePhraseMatcherSettings ()
Returns the object with the settings used for calls to updatePhraseMatcher.
public UnaryCallSettings<UpdateSettingsRequest , Settings > updateSettingsSettings ()
Returns the object with the settings used for calls to updateSettings.
public UnaryCallSettings<UpdateViewRequest , View > updateViewSettings ()
Returns the object with the settings used for calls to updateView.
public OperationCallSettings<UploadConversationRequest , Conversation , UploadConversationMetadata > uploadConversationOperationSettings ()
Returns the object with the settings used for calls to uploadConversation.
public UnaryCallSettings<UploadConversationRequest , Operation > uploadConversationSettings ()
Returns the object with the settings used for calls to uploadConversation.