diff --git a/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java deleted file mode 100644 index 7856bf22..00000000 --- a/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java +++ /dev/null @@ -1,4352 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.contactcenterinsights.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * An API that lets users analyze and explore their business conversation data. - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ContactCenterInsightsGrpc { - - private ContactCenterInsightsGrpc() {} - - public static final String SERVICE_NAME = - "google.cloud.contactcenterinsights.v1.ContactCenterInsights"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getCreateConversationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConversation", - requestType = com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Conversation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getCreateConversationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getCreateConversationMethod; - if ((getCreateConversationMethod = ContactCenterInsightsGrpc.getCreateConversationMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreateConversationMethod = ContactCenterInsightsGrpc.getCreateConversationMethod) - == null) { - ContactCenterInsightsGrpc.getCreateConversationMethod = - getCreateConversationMethod = - io.grpc.MethodDescriptor - .
- * An API that lets users analyze and explore their business conversation data. - *- */ - public abstract static class ContactCenterInsightsImplBase implements io.grpc.BindableService { - - /** - * - * - *
- * Creates a conversation. - *- */ - public void createConversation( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest request, - io.grpc.stub.StreamObserver
- * Updates a conversation. - *- */ - public void updateConversation( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request, - io.grpc.stub.StreamObserver
- * Gets a conversation. - *- */ - public void getConversation( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest request, - io.grpc.stub.StreamObserver
- * Lists conversations. - *- */ - public void listConversations( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListConversationsMethod(), responseObserver); - } - - /** - * - * - *
- * Deletes a conversation. - *- */ - public void deleteConversation( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest request, - io.grpc.stub.StreamObserver
- * Creates an analysis. The long running operation is done when the analysis - * has completed. - *- */ - public void createAnalysis( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest request, - io.grpc.stub.StreamObserver
- * Gets an analysis. - *- */ - public void getAnalysis( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request, - io.grpc.stub.StreamObserver
- * Lists analyses. - *- */ - public void listAnalyses( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request, - io.grpc.stub.StreamObserver
- * Deletes an analysis. - *- */ - public void deleteAnalysis( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request, - io.grpc.stub.StreamObserver
- * Export insights data to a destination defined in the request body. - *- */ - public void exportInsightsData( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request, - io.grpc.stub.StreamObserver
- * Creates an issue model. - *- */ - public void createIssueModel( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Updates an issue model. - *- */ - public void updateIssueModel( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Gets an issue model. - *- */ - public void getIssueModel( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Lists issue models. - *- */ - public void listIssueModels( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListIssueModelsMethod(), responseObserver); - } - - /** - * - * - *
- * Deletes an issue model. - *- */ - public void deleteIssueModel( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Deploys an issue model. Returns an error if a model is already deployed. - * An issue model can only be used in analysis after it has been deployed. - *- */ - public void deployIssueModel( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Undeploys an issue model. - * An issue model can not be used in analysis after it has been undeployed. - *- */ - public void undeployIssueModel( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Gets an issue. - *- */ - public void getIssue( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest request, - io.grpc.stub.StreamObserver
- * Lists issues. - *- */ - public void listIssues( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request, - io.grpc.stub.StreamObserver
- * Updates an issue. - *- */ - public void updateIssue( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request, - io.grpc.stub.StreamObserver
- * Gets an issue model's statistics. - *- */ - public void calculateIssueModelStats( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCalculateIssueModelStatsMethod(), responseObserver); - } - - /** - * - * - *
- * Creates a phrase matcher. - *- */ - public void createPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request, - io.grpc.stub.StreamObserver
- * Gets a phrase matcher. - *- */ - public void getPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request, - io.grpc.stub.StreamObserver
- * Lists phrase matchers. - *- */ - public void listPhraseMatchers( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPhraseMatchersMethod(), responseObserver); - } - - /** - * - * - *
- * Deletes a phrase matcher. - *- */ - public void deletePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request, - io.grpc.stub.StreamObserver
- * Updates a phrase matcher. - *- */ - public void updatePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request, - io.grpc.stub.StreamObserver
- * Gets conversation statistics. - *- */ - public void calculateStats( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCalculateStatsMethod(), responseObserver); - } - - /** - * - * - *
- * Gets project-level settings. - *- */ - public void getSettings( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request, - io.grpc.stub.StreamObserver
- * Updates project-level settings. - *- */ - public void updateSettings( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request, - io.grpc.stub.StreamObserver
- * Creates a view. - *- */ - public void createView( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest request, - io.grpc.stub.StreamObserver
- * Gets a view. - *- */ - public void getView( - com.google.cloud.contactcenterinsights.v1.GetViewRequest request, - io.grpc.stub.StreamObserver
- * Lists views. - *- */ - public void listViews( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest request, - io.grpc.stub.StreamObserver
- * Updates a view. - *- */ - public void updateView( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request, - io.grpc.stub.StreamObserver
- * Deletes a view. - *- */ - public void deleteView( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request, - io.grpc.stub.StreamObserver
- * An API that lets users analyze and explore their business conversation data. - *- */ - public static final class ContactCenterInsightsStub - extends io.grpc.stub.AbstractAsyncStub
- * Creates a conversation. - *- */ - public void createConversation( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest request, - io.grpc.stub.StreamObserver
- * Updates a conversation. - *- */ - public void updateConversation( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request, - io.grpc.stub.StreamObserver
- * Gets a conversation. - *- */ - public void getConversation( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest request, - io.grpc.stub.StreamObserver
- * Lists conversations. - *- */ - public void listConversations( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConversationsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
- * Deletes a conversation. - *- */ - public void deleteConversation( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest request, - io.grpc.stub.StreamObserver
- * Creates an analysis. The long running operation is done when the analysis - * has completed. - *- */ - public void createAnalysis( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest request, - io.grpc.stub.StreamObserver
- * Gets an analysis. - *- */ - public void getAnalysis( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request, - io.grpc.stub.StreamObserver
- * Lists analyses. - *- */ - public void listAnalyses( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request, - io.grpc.stub.StreamObserver
- * Deletes an analysis. - *- */ - public void deleteAnalysis( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request, - io.grpc.stub.StreamObserver
- * Export insights data to a destination defined in the request body. - *- */ - public void exportInsightsData( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request, - io.grpc.stub.StreamObserver
- * Creates an issue model. - *- */ - public void createIssueModel( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Updates an issue model. - *- */ - public void updateIssueModel( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Gets an issue model. - *- */ - public void getIssueModel( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Lists issue models. - *- */ - public void listIssueModels( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListIssueModelsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
- * Deletes an issue model. - *- */ - public void deleteIssueModel( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Deploys an issue model. Returns an error if a model is already deployed. - * An issue model can only be used in analysis after it has been deployed. - *- */ - public void deployIssueModel( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Undeploys an issue model. - * An issue model can not be used in analysis after it has been undeployed. - *- */ - public void undeployIssueModel( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request, - io.grpc.stub.StreamObserver
- * Gets an issue. - *- */ - public void getIssue( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest request, - io.grpc.stub.StreamObserver
- * Lists issues. - *- */ - public void listIssues( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request, - io.grpc.stub.StreamObserver
- * Updates an issue. - *- */ - public void updateIssue( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request, - io.grpc.stub.StreamObserver
- * Gets an issue model's statistics. - *- */ - public void calculateIssueModelStats( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCalculateIssueModelStatsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
- * Creates a phrase matcher. - *- */ - public void createPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request, - io.grpc.stub.StreamObserver
- * Gets a phrase matcher. - *- */ - public void getPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request, - io.grpc.stub.StreamObserver
- * Lists phrase matchers. - *- */ - public void listPhraseMatchers( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPhraseMatchersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
- * Deletes a phrase matcher. - *- */ - public void deletePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request, - io.grpc.stub.StreamObserver
- * Updates a phrase matcher. - *- */ - public void updatePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request, - io.grpc.stub.StreamObserver
- * Gets conversation statistics. - *- */ - public void calculateStats( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCalculateStatsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
- * Gets project-level settings. - *- */ - public void getSettings( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request, - io.grpc.stub.StreamObserver
- * Updates project-level settings. - *- */ - public void updateSettings( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request, - io.grpc.stub.StreamObserver
- * Creates a view. - *- */ - public void createView( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest request, - io.grpc.stub.StreamObserver
- * Gets a view. - *- */ - public void getView( - com.google.cloud.contactcenterinsights.v1.GetViewRequest request, - io.grpc.stub.StreamObserver
- * Lists views. - *- */ - public void listViews( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest request, - io.grpc.stub.StreamObserver
- * Updates a view. - *- */ - public void updateView( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request, - io.grpc.stub.StreamObserver
- * Deletes a view. - *- */ - public void deleteView( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request, - io.grpc.stub.StreamObserver
- * An API that lets users analyze and explore their business conversation data. - *- */ - public static final class ContactCenterInsightsBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Creates a conversation. - *- */ - public com.google.cloud.contactcenterinsights.v1.Conversation createConversation( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateConversationMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates a conversation. - *- */ - public com.google.cloud.contactcenterinsights.v1.Conversation updateConversation( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateConversationMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets a conversation. - *- */ - public com.google.cloud.contactcenterinsights.v1.Conversation getConversation( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConversationMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists conversations. - *- */ - public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse listConversations( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListConversationsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a conversation. - *- */ - public com.google.protobuf.Empty deleteConversation( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteConversationMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates an analysis. The long running operation is done when the analysis - * has completed. - *- */ - public com.google.longrunning.Operation createAnalysis( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAnalysisMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets an analysis. - *- */ - public com.google.cloud.contactcenterinsights.v1.Analysis getAnalysis( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAnalysisMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists analyses. - *- */ - public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse listAnalyses( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAnalysesMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes an analysis. - *- */ - public com.google.protobuf.Empty deleteAnalysis( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAnalysisMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Export insights data to a destination defined in the request body. - *- */ - public com.google.longrunning.Operation exportInsightsData( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportInsightsDataMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates an issue model. - *- */ - public com.google.longrunning.Operation createIssueModel( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates an issue model. - *- */ - public com.google.cloud.contactcenterinsights.v1.IssueModel updateIssueModel( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets an issue model. - *- */ - public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists issue models. - *- */ - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse listIssueModels( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIssueModelsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes an issue model. - *- */ - public com.google.longrunning.Operation deleteIssueModel( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deploys an issue model. Returns an error if a model is already deployed. - * An issue model can only be used in analysis after it has been deployed. - *- */ - public com.google.longrunning.Operation deployIssueModel( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeployIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Undeploys an issue model. - * An issue model can not be used in analysis after it has been undeployed. - *- */ - public com.google.longrunning.Operation undeployIssueModel( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUndeployIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets an issue. - *- */ - public com.google.cloud.contactcenterinsights.v1.Issue getIssue( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIssueMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists issues. - *- */ - public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse listIssues( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIssuesMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates an issue. - *- */ - public com.google.cloud.contactcenterinsights.v1.Issue updateIssue( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIssueMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets an issue model's statistics. - *- */ - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse - calculateIssueModelStats( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCalculateIssueModelStatsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates a phrase matcher. - *- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher createPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets a phrase matcher. - *- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists phrase matchers. - *- */ - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse listPhraseMatchers( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPhraseMatchersMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a phrase matcher. - *- */ - public com.google.protobuf.Empty deletePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates a phrase matcher. - *- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher updatePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets conversation statistics. - *- */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse calculateStats( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCalculateStatsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets project-level settings. - *- */ - public com.google.cloud.contactcenterinsights.v1.Settings getSettings( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates project-level settings. - *- */ - public com.google.cloud.contactcenterinsights.v1.Settings updateSettings( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates a view. - *- */ - public com.google.cloud.contactcenterinsights.v1.View createView( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets a view. - *- */ - public com.google.cloud.contactcenterinsights.v1.View getView( - com.google.cloud.contactcenterinsights.v1.GetViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists views. - *- */ - public com.google.cloud.contactcenterinsights.v1.ListViewsResponse listViews( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListViewsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates a view. - *- */ - public com.google.cloud.contactcenterinsights.v1.View updateView( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a view. - *- */ - public com.google.protobuf.Empty deleteView( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteViewMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
- * An API that lets users analyze and explore their business conversation data. - *- */ - public static final class ContactCenterInsightsFutureStub - extends io.grpc.stub.AbstractFutureStub
- * Creates a conversation. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.Conversation> - createConversation( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateConversationMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Updates a conversation. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.Conversation> - updateConversation( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateConversationMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets a conversation. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.Conversation> - getConversation(com.google.cloud.contactcenterinsights.v1.GetConversationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConversationMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Lists conversations. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse> - listConversations( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListConversationsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Deletes a conversation. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Creates an analysis. The long running operation is done when the analysis - * has completed. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Gets an analysis. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.Analysis> - getAnalysis(com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAnalysisMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Lists analyses. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse> - listAnalyses(com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAnalysesMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Deletes an analysis. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Export insights data to a destination defined in the request body. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Creates an issue model. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Updates an issue model. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.IssueModel> - updateIssueModel( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateIssueModelMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets an issue model. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.IssueModel> - getIssueModel(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIssueModelMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Lists issue models. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse> - listIssueModels(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListIssueModelsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Deletes an issue model. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deploys an issue model. Returns an error if a model is already deployed. - * An issue model can only be used in analysis after it has been deployed. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Undeploys an issue model. - * An issue model can not be used in analysis after it has been undeployed. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Gets an issue. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.Issue> - getIssue(com.google.cloud.contactcenterinsights.v1.GetIssueRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIssueMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Lists issues. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse> - listIssues(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListIssuesMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Updates an issue. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.Issue> - updateIssue(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateIssueMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets an issue model's statistics. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse> - calculateIssueModelStats( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCalculateIssueModelStatsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Creates a phrase matcher. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - createPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePhraseMatcherMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets a phrase matcher. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - getPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPhraseMatcherMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Lists phrase matchers. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse> - listPhraseMatchers( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPhraseMatchersMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Deletes a phrase matcher. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Updates a phrase matcher. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - updatePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePhraseMatcherMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets conversation statistics. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse> - calculateStats(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCalculateStatsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets project-level settings. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.Settings> - getSettings(com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Updates project-level settings. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.Settings> - updateSettings(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Creates a view. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.View> - createView(com.google.cloud.contactcenterinsights.v1.CreateViewRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateViewMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets a view. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.View> - getView(com.google.cloud.contactcenterinsights.v1.GetViewRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetViewMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Lists views. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.ListViewsResponse> - listViews(com.google.cloud.contactcenterinsights.v1.ListViewsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListViewsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Updates a view. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.contactcenterinsights.v1.View> - updateView(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateViewMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Deletes a view. - *- */ - public com.google.common.util.concurrent.ListenableFuture
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -89,8 +92,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 contactCenterInsightsSettings = * ContactCenterInsightsSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -102,8 +108,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 contactCenterInsightsSettings = * ContactCenterInsightsSettings.newBuilder().setEndpoint(myEndpoint).build(); * ContactCenterInsightsClient contactCenterInsightsClient = @@ -114,8 +123,11 @@ * the wire: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 contactCenterInsightsSettings = * ContactCenterInsightsSettings.newBuilder() * .setTransportChannelProvider( @@ -209,8 +221,11 @@ public final OperationsClient getHttpJsonOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -248,8 +263,11 @@ public final Conversation createConversation( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -287,8 +305,11 @@ public final Conversation createConversation( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateConversationRequest request = @@ -315,8 +336,11 @@ public final Conversation createConversation(CreateConversationRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateConversationRequest request = @@ -343,8 +367,11 @@ public final UnaryCallablecreateConver * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * Conversation conversation = Conversation.newBuilder().build(); @@ -374,8 +401,11 @@ public final Conversation updateConversation(Conversation conversation, FieldMas *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateConversationRequest request = @@ -401,8 +431,11 @@ public final Conversation updateConversation(UpdateConversationRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateConversationRequest request = @@ -428,8 +461,11 @@ public final UnaryCallableupdateConver * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); @@ -453,8 +489,11 @@ public final Conversation getConversation(ConversationName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); @@ -477,8 +516,11 @@ public final Conversation getConversation(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetConversationRequest request = @@ -504,8 +546,11 @@ public final Conversation getConversation(GetConversationRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetConversationRequest request = @@ -531,8 +576,11 @@ public final UnaryCallablegetConversation * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -561,8 +609,11 @@ public final ListConversationsPagedResponse listConversations(LocationName paren *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -589,8 +640,11 @@ public final ListConversationsPagedResponse listConversations(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListConversationsRequest request = @@ -622,8 +676,11 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListConversationsRequest request = @@ -655,8 +712,11 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListConversationsRequest request = @@ -695,8 +755,11 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); @@ -722,8 +785,11 @@ public final void deleteConversation(ConversationName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); @@ -747,8 +813,11 @@ public final void deleteConversation(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteConversationRequest request = @@ -774,8 +843,11 @@ public final void deleteConversation(DeleteConversationRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteConversationRequest request = @@ -801,8 +873,11 @@ public final UnaryCallabledeleteConversationC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); @@ -832,8 +907,11 @@ public final OperationFuturecreateAn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); @@ -860,8 +938,11 @@ public final OperationFuturecreateAn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateAnalysisRequest request = @@ -889,8 +970,11 @@ public final OperationFuturecreateAn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateAnalysisRequest request = @@ -918,8 +1002,11 @@ public final OperationFuturecreateAn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateAnalysisRequest request = @@ -946,8 +1033,11 @@ public final UnaryCallablecreateAnalysisCalla * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * AnalysisName name = @@ -972,8 +1062,11 @@ public final Analysis getAnalysis(AnalysisName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = @@ -997,8 +1090,11 @@ public final Analysis getAnalysis(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetAnalysisRequest request = @@ -1025,8 +1121,11 @@ public final Analysis getAnalysis(GetAnalysisRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetAnalysisRequest request = @@ -1053,8 +1152,11 @@ public final UnaryCallablegetAnalysisCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); @@ -1082,8 +1184,11 @@ public final ListAnalysesPagedResponse listAnalyses(ConversationName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); @@ -1108,8 +1213,11 @@ public final ListAnalysesPagedResponse listAnalyses(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListAnalysesRequest request = @@ -1140,8 +1248,11 @@ public final ListAnalysesPagedResponse listAnalyses(ListAnalysesRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListAnalysesRequest request = @@ -1173,8 +1284,11 @@ public final ListAnalysesPagedResponse listAnalyses(ListAnalysesRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListAnalysesRequest request = @@ -1212,8 +1326,11 @@ public final UnaryCallablelistAnalys * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * AnalysisName name = @@ -1238,8 +1355,11 @@ public final void deleteAnalysis(AnalysisName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = @@ -1263,8 +1383,11 @@ public final void deleteAnalysis(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteAnalysisRequest request = @@ -1291,8 +1414,11 @@ public final void deleteAnalysis(DeleteAnalysisRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteAnalysisRequest request = @@ -1319,8 +1445,11 @@ public final UnaryCallabledeleteAnalysisCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -1348,8 +1477,11 @@ public final UnaryCallabledeleteAnalysisCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -1375,8 +1507,11 @@ public final UnaryCallabledeleteAnalysisCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ExportInsightsDataRequest request = @@ -1405,8 +1540,11 @@ public final UnaryCallabledeleteAnalysisCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ExportInsightsDataRequest request = @@ -1435,8 +1573,11 @@ public final UnaryCallabledeleteAnalysisCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ExportInsightsDataRequest request = @@ -1463,8 +1604,11 @@ public final UnaryCallableexportInsightsD * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -1495,8 +1639,11 @@ public final OperationFuturecreateIssueMo * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -1524,8 +1671,11 @@ public final OperationFuturecreateIssueMo * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateIssueModelRequest request = @@ -1552,8 +1702,11 @@ public final OperationFuturecreateIssueMo * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateIssueModelRequest request = @@ -1580,8 +1733,11 @@ public final OperationFuturecreateIssueMo * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateIssueModelRequest request = @@ -1607,8 +1763,11 @@ public final UnaryCallablecreateIssueModelC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModel issueModel = IssueModel.newBuilder().build(); @@ -1637,8 +1796,11 @@ public final IssueModel updateIssueModel(IssueModel issueModel, FieldMask update *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateIssueModelRequest request = @@ -1664,8 +1826,11 @@ public final IssueModel updateIssueModel(UpdateIssueModelRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateIssueModelRequest request = @@ -1691,8 +1856,11 @@ public final UnaryCallableupdateIssueModel * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); @@ -1716,8 +1884,11 @@ public final IssueModel getIssueModel(IssueModelName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); @@ -1740,8 +1911,11 @@ public final IssueModel getIssueModel(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetIssueModelRequest request = @@ -1766,8 +1940,11 @@ public final IssueModel getIssueModel(GetIssueModelRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetIssueModelRequest request = @@ -1792,8 +1969,11 @@ public final UnaryCallablegetIssueModelCallab * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -1819,8 +1999,11 @@ public final ListIssueModelsResponse listIssueModels(LocationName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -1843,8 +2026,11 @@ public final ListIssueModelsResponse listIssueModels(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListIssueModelsRequest request = @@ -1869,8 +2055,11 @@ public final ListIssueModelsResponse listIssueModels(ListIssueModelsRequest requ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListIssueModelsRequest request = @@ -1896,8 +2085,11 @@ public final ListIssueModelsResponse listIssueModels(ListIssueModelsRequest requ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); @@ -1922,8 +2114,11 @@ public final OperationFuturedeleteIssueModelAs * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); @@ -1946,8 +2141,11 @@ public final OperationFuturedeleteIssueModelAs * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteIssueModelRequest request = @@ -1973,8 +2171,11 @@ public final OperationFuturedeleteIssueModelAs * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteIssueModelRequest request = @@ -2000,8 +2201,11 @@ public final OperationFuturedeleteIssueModelAs * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteIssueModelRequest request = @@ -2027,8 +2231,11 @@ public final UnaryCallabledeleteIssueModelC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); @@ -2055,8 +2262,11 @@ public final UnaryCallabledeleteIssueModelC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); @@ -2082,8 +2292,11 @@ public final UnaryCallabledeleteIssueModelC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeployIssueModelRequest request = @@ -2111,8 +2324,11 @@ public final UnaryCallabledeleteIssueModelC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeployIssueModelRequest request = @@ -2140,8 +2356,11 @@ public final UnaryCallabledeleteIssueModelC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeployIssueModelRequest request = @@ -2167,8 +2386,11 @@ public final UnaryCallabledeployIssueModelC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); @@ -2197,8 +2419,11 @@ public final UnaryCallabledeployIssueModelC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 * try (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); @@ -2225,8 +2450,11 @@ public final UnaryCallable